diff options
-rw-r--r-- | src/cubeb_winmm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cubeb_winmm.c b/src/cubeb_winmm.c index dc1db9c..793ac71 100644 --- a/src/cubeb_winmm.c +++ b/src/cubeb_winmm.c @@ -197,8 +197,7 @@ winmm_refill_stream(cubeb_stream * stm) EnterCriticalSection(&stm->lock); if (got < 0) { LeaveCriticalSection(&stm->lock); - /* XXX handle this case */ - XASSERT(0); + stm->state_callback(stm, stm->user_ptr, CUBEB_STATE_ERROR); return; } else if (got < wanted) { stm->draining = 1; |