Index: libao2/ao_sndio.c --- libao2/ao_sndio.c.orig +++ libao2/ao_sndio.c @@ -181,7 +181,7 @@ static void uninit(int immed) */ static void reset(void) { - if (!sio_stop(hdl)) + if (!sio_flush(hdl)) mp_msg(MSGT_AO, MSGL_ERR, "ao2: reset: couldn't stop\n"); delay = 0; if (!sio_start(hdl)) @@ -237,7 +237,7 @@ static void audio_pause(void) * sndio can't pause, so just stop */ prepause_delay = delay; - if (!sio_stop(hdl)) + if (!sio_flush(hdl)) mp_msg(MSGT_AO, MSGL_ERR, "ao2: pause: couldn't stop\n"); delay = 0; }