[pulseaudio-discuss] [PATCH] Do not use tsched watermark if tsched is disabled

pl bossart bossart.nospam at gmail.com
Wed Sep 1 11:06:17 PDT 2010


>> Probably either one will work, but if we're about to release 0.9.22
>> (heard something from Lennart yet?), I suggest we go with my version for
>> 0.9.22 as that one is the least invasive (only touches non-tsched
>> devices), and keep Pierre's version in master.
>
> Sounds reasonable. Pierre, what's your take?

That would mean an additional post-release patch for tsched devices. I
am lazy and would prefer a one-stop fix. I don't care if this is
David's or mine, as long as the solution works for both cases.
The only real difference is the bytes/ms parameter. Although ms are
more intuitive, the bytes makes more sense from a hardware point of
view. If you pass a parameter in ms, there might be cases where the
actual number of bytes is lower than the DMA burst, it'll depend on
what frequency the sink operates at. There are some cases where
alsa-sink works at 8kHz (BT-SCO) or 48kHz (all other cases), a 6x
variability in the rewind behavior is difficult to handle.
-Pierre



More information about the pulseaudio-discuss mailing list