[pulseaudio-discuss] Question about streams...

Tanu Kaskinen tanu.kaskinen at digia.com
Mon Apr 2 23:47:22 PDT 2012


On Tue, 2012-04-03 at 16:01 +1000, Jean-Yves Avenard wrote:
> On 3 April 2012 14:24, Tanu Kaskinen <tanuk at iki.fi> wrote:
> > It's a record stream that records what's being played to a sink or
> > records the contents of some single playback stream. With record streams
> > in general, the latency tells how long ago the audio reached the sound
> > card input, but with monitoring streams it tells how long ago the sound
> > reached the sound card's *output*. With monitoring streams the latency
> > can be negative if your application gets the audio before it reaches the
> > sound card output.
> 
> If there are monitoring streams, maybe the list describing the stream
> types should be amended...

Not really. The API for playback, record and upload streams is
different, but monitoring streams are just one type of record streams
and the API is identical with all other record streams. Given that there
was need to ask a question on the mailing list, it would probably be
good to expand a little the documentation of pa_stream_get_latency,
though.

-- 
Tanu



More information about the pulseaudio-discuss mailing list