[pulseaudio-discuss] [PATCH] sink: Process rewind requests also when suspended.

Arun Raghavan arun.raghavan at collabora.co.uk
Fri Nov 16 10:04:47 PST 2012


On Thu, 2012-08-30 at 16:50 +0300, Tanu Kaskinen wrote:
> When a rewind is requested on a sink input, the request parameters are
> stored in the pa_sink_input struct. The parameters are reset during
> rewind processing, and if the sink decides to ignore the rewind
> request due to being suspended, stale parameters are left in
> pa_sink_input. It's particularly problematic if the rewrite_bytes
> parameter is left at -1, because that will prevent all future rewind
> processing on that sink input. So, in order to avoid stale parameters,
> every rewind request needs to be processed, even if the sink is
> suspended.
> 
> Reported-by: Uoti Urpala
> ---

Thanks, I've pushed this now, with a minor addition that allows rewind
requests on a sink when it is suspended.

-- Arun



More information about the pulseaudio-discuss mailing list