[pulseaudio-discuss] [PATCH] alsa: reset watermark to initial values on resume
tanuk at iki.fi
Sat Oct 8 02:17:53 PDT 2011
On Fri, 2011-10-07 at 18:12 -0500, Pierre-Louis Bossart wrote:
> Watermark level and latency values are not restored when
> resuming, the values used prior to suspending are reused.
> This leads to side effects when underruns happen and buffer
> sizes are updated, PulseAudio can never meet lower latency
> Solution: keep track of watermark and latency values on sink or
> source creation, and reapply them on resume to start with
> a clean slate.
Looks good to me.
More information about the pulseaudio-discuss