[gst-devel] Buffer/Latency time settable preperty query
Wim Taymans
wim.taymans at gmail.com
Thu Nov 29 15:12:37 CET 2007
On Thu, 2007-11-29 at 07:27 -0500, kash wrote:
>
>
> hi all,
>
>
>
> What is the significance of buffer time and latency time for audio buffers with respect to audio sinks/sources in
>
>
>
> case of live pipeline ,?
Buffer time is the size of the audio buffer in microseconds, typically
the amount of data you allocate for the hardware DMA buffer.
latency-time is the period at which you request the hardware to generate
interrupts. The bigger the buffer, the more you can compensate for
fluctuations in the scheduling of the producer threads, the smaller the
buffer, the lower the latency beween producer and actual playback. when
pausing/playing the latency time determines the reaction speed (we write
full segments of latency-time).
For the way the audiosink base class works, you will always introduce
the latency of the buffer-time for live sources (the playback of the
ringbuffer, or DMA, is started after the buffer is completely filled).
Custom implementations of GstBaseAudioSink can do something else and
start playback after filling less of the buffer.
Wim
>
>
>
>
>
> how to set this value properly for live pipeline ?
>
>
>
> do they depend on sampling rate , channels ?
>
>
>
> Thanks in advance .
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
>
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell. From the desktop to the data center, Linux is going
> mainstream. Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list