Re: [pulseaudio-discuss] Possible bug in pa_sink_input_request_rewind

2013-11-11 Thread Tanu Kaskinen
On Fri, 2013-11-08 at 23:18 +0600, Alexander E. Patrakov wrote: > Hello. > > In pa_sink_input_request_rewind, nbytes == 0 means "rewind as far as > possible". However, I think I have found (by code inspection) a case > where it is not honored. The case is where > i->thread_info.rewrite_nbytes is a

[pulseaudio-discuss] Possible bug in pa_sink_input_request_rewind

2013-11-08 Thread Alexander E. Patrakov
Hello. In pa_sink_input_request_rewind, nbytes == 0 means "rewind as far as possible". However, I think I have found (by code inspection) a case where it is not honored. The case is where i->thread_info.rewrite_nbytes is already non-zero due to a prior rewind request. In this case, nbytes will be