Any help on this?<br><br>
<div class="gmail_quote">On Wed, Jul 27, 2011 at 11:25 AM, Vallabha Hampiholi <span dir="ltr">&lt;<a href="http://vallabha.pa">vallabha.pa</a>@<a href="http://googlemail.com">googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>We are now running PA with high resolution timers enabled in the kernel.</div>
<div> </div>
<div>Yet I still can hear the audio glitches.</div>
<div> </div>
<div>Attached are new traces.<br><br></div>
<div>
<div></div>
<div class="h5">
<div class="gmail_quote">On Sun, Jul 24, 2011 at 7:05 PM, Vallabha Hampiholi <span dir="ltr">&lt;<a href="http://vallabha.pa/" target="_blank">vallabha.pa</a>@<a href="http://googlemail.com/" target="_blank">googlemail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Dear Experts,<br><br>I would like to know a few more things:<br><br>Please pardon me, as I started working PulseAudio recently and havent<br>
gone through the source code yet, before asking these questions due to<br>lack of time.<br><br>1. How is audio data handled between PulseAudio daemon and PulseAudio<br>clients? What is the minimum data that should be transfrered before<br>
PulseAudio starts sending the audio data to ALSA hardware?<br><br>2. Is the above determined by the values of fragment-size and number<br>of fragments in the daemon.conf file?<br><br>3. I see that the default values of the above parameters are 25 msec<br>
and 4. So does this mean that, PulseAudio does not start processing<br>data until 100msec of data is available?<br><br>4. Also from (3) what should be the ideal value for the latency-time<br>for pulsesink? 100msec or 25msec?<br>
<br>Thank you in advance.<br><br>-Rgds<br><font color="#888888">Vallabha<br></font>
<div>
<div></div>
<div><br>On 7/23/11, Vallabha Hampiholi &lt;<a href="http://vallabha.pa/" target="_blank">vallabha.pa</a>@<a href="http://googlemail.com/" target="_blank">googlemail.com</a>&gt; wrote:<br>&gt; Thank you Pierre and Colin.<br>
&gt;<br>&gt; @Pierre: Should both parameters be set to -1? Upon gst-inspecting the<br>&gt; pulsesink element, i get following information:<br>&gt; buffer-time         : Size of audio buffer in microseconds<br>&gt;                         flags: readable, writable<br>
&gt;                         Integer64. Range: 1 - 9223372036854775807 Default:<br>&gt; 200000 Current: 200000<br>&gt; latency-time      : Audio latency in microseconds<br>&gt;                         flags: readable, writable<br>
&gt;                         Integer64. Range: 1 - 9223372036854775807 Default:<br>&gt; 10000 Current: 10000<br>&gt; Seems like these parameters will not accept negative values.<br>&gt;<br>&gt; I am working on an embedded environment, and taking the default vaues of<br>
&gt; latency and buffer time results in buffer underrun.<br>&gt;<br>&gt; -Rgds<br>&gt; Vallabha<br>&gt; On Fri, Jul 22, 2011 at 11:43 PM, pl bossart<br>&gt; &lt;<a href="mailto:bossart.nospam@gmail.com" target="_blank">bossart.nospam@gmail.com</a>&gt;wrote:<br>
&gt;<br>&gt;&gt; &gt; Can anyone let me know as what criterions should be considered while<br>&gt;&gt; setting<br>&gt;&gt; &gt; the latency-time and buffer-time parameters for the GST element<br>&gt;&gt; pulsesink?<br>&gt;&gt;<br>
&gt;&gt; The parameter names are a bit misleading.<br>&gt;&gt; latency-time only deals with the amount of data exchanged between<br>&gt;&gt; pulsesink and pulseaudio. It doesn&#39;t really represent the latency.<br>&gt;&gt; buffer-time should be the total buffering/latency you want for your<br>
&gt;&gt; audio chain. If you don&#39;t care about it, set it to -1 to reduce the<br>&gt;&gt; number of wakes and decrease power consumption<br>&gt;&gt; -Pierre<br>&gt;&gt; _______________________________________________<br>
&gt;&gt; pulseaudio-discuss mailing list<br>&gt;&gt; <a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>&gt;&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" target="_blank">http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
&gt;&gt;<br>&gt;<br></div></div></blockquote></div><br></div></div></blockquote></div><br>