Re: [pulseaudio-discuss] [PATCH v2 2/5] oss: don't fail resume if trigger() fails

2018-03-16 Thread Georg Chini
On 13.03.2018 18:40, Tanu Kaskinen wrote: The previous code made the SET_STATE message fail if trigger() failed. However, trigger() was called after pa_sink/source_process_msg(), which meant that the main thread that sent the SET_STATE thought that resuming failed, but nothing was undone in the

[pulseaudio-discuss] [PATCH v2 2/5] oss: don't fail resume if trigger() fails

2018-03-13 Thread Tanu Kaskinen
The previous code made the SET_STATE message fail if trigger() failed. However, trigger() was called after pa_sink/source_process_msg(), which meant that the main thread that sent the SET_STATE thought that resuming failed, but nothing was undone in the IO thread, so in the IO thread things seemed