On Fri, Nov 21, 2014 at 02:41:32AM +0100, Dmitrij D. Czarkoff wrote: > Anthony J. Bentley said: > > There's at least one more obvious issue: when I pause music or > > video, I can't unpause... > > Apparently the workaround in audio_resume() function was causing this > bug. (Not sure why, as the function exited just fine.)
Not sure about mpv, but iirc it was necessary in mplayer to preserve audio/video synchronisation after a pause/resume cycle. For testing, you could temprorarily set par.appbufsz to a huge value (eg. 48000) to make synchronization problems (if any) more obvious. > P.S.: While we are patching sndio backend, we should probably remove > the warning about blocking because of sndio bug ??? these messages litter > the output, which is particularily irritating if plaback was paused > several times or seeking was done. IMHO we should keep the message because upstream developpers have added it for a reason. We could add a second message right after the sio_stop() call to appreciate the time sio_stop() takes and if this is annoying find a solution. In other words, let's fix the "bug" and let upstream remove the warning my 2 cents.