PulseSink Properties

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <bossart.nospam at gmail.com>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
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110723/730c01c0/attachment.htm>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux