mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-27 22:06:58 +08:00
ao_wasapi: don't check the audio feed while paused
This commit is contained in:
@@ -1150,7 +1150,8 @@ static unsigned int __stdcall ThreadLoop(void *lpParameter)
|
||||
thread_play(state);
|
||||
break;
|
||||
case (WAIT_OBJECT_0 + 6): /* feed */
|
||||
feedwatch = 1;
|
||||
if (state->is_playing)
|
||||
feedwatch = 1;
|
||||
thread_feed(state, 0);
|
||||
break;
|
||||
case WAIT_TIMEOUT: /* Did our feed die? */
|
||||
|
||||
Reference in New Issue
Block a user