Thank you Pierre and Colin.
@Pierre: Should both parameters be set to -1? Upon gst-inspecting the
pulsesink element, i get following information:
buffer-time : Size of audio buffer in microseconds
flags: readable, writable
Integer64. Range: 1 - 9223372036854775807 Default:
200000 Current: 200000
latency-time : Audio latency in microseconds
flags: readable, writable
Integer64. Range: 1 - 9223372036854775807 Default:
10000 Current: 10000
Seems like these parameters will not accept negative values.
I am working on an embedded environment, and taking the default vaues of
latency and buffer time results in buffer underrun.
-Rgds
Vallabha
On Fri, Jul 22, 2011 at 11:43 PM, pl bossart <[email protected]>wrote:
> > Can anyone let me know as what criterions should be considered while
> setting
> > the latency-time and buffer-time parameters for the GST element
> pulsesink?
>
> The parameter names are a bit misleading.
> latency-time only deals with the amount of data exchanged between
> pulsesink and pulseaudio. It doesn't really represent the latency.
> buffer-time should be the total buffering/latency you want for your
> audio chain. If you don't care about it, set it to -1 to reduce the
> number of wakes and decrease power consumption
> -Pierre
> _______________________________________________
> pulseaudio-discuss mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss