summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/out/ao_wasapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c
index 33c4c3b7ea..0e8d40f2bf 100644
--- a/audio/out/ao_wasapi.c
+++ b/audio/out/ao_wasapi.c
@@ -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? */