(WASAPI) Stop deactivating audio on fast forward

This commit is contained in:
sonninnos 2021-08-11 04:21:52 +03:00
parent 9cd5e66b21
commit c737947d74

View File

@ -736,7 +736,7 @@ static ssize_t wasapi_write_ex(wasapi_t *w, const void * data, size_t size, DWOR
if (!write_avail)
{
if (WaitForSingleObject(w->write_event, ms) != WAIT_OBJECT_0)
return -1;
return 0;
if (!wasapi_flush_buffer(w, w->engine_buffer_size))
return -1;