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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux