[pulseaudio-discuss] module-combine-sinks latency

Tanu Kaskinen tanuk at iki.fi
Sat Jul 7 23:19:48 PDT 2012


On Sun, 2012-07-08 at 00:42 +0100, Marius Bjørnstad wrote:
> Hi,
> 
> I would like to play the same sound to my speakers and headphones, so
> "switching" between them is just a matter of turning on/off the
> speakers. When I use module-combine-sink to combine two sound cards, the
> virtual sink gets a latency of approximately 200 ms -- very high for
> VoIP usage. If I send the stream to either of the sound cards
> separately, the latency is just 0.5 ms and ~15 ms. Is there a way to
> reduce the latency for module-combine-sinks ?

Apparently not - there are no module arguments for controlling the
latency. module-combine-sink.c has the constant BLOCK_USEC, which is
defined to be 200 ms, so apparently the latency is determined by that
constant. It wouldn't be hard to make that configurable.

-- 
Tanu



More information about the pulseaudio-discuss mailing list