mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-21 11:21:52 +00:00
Unqueue raw samples if Vorbis playback is paused.
Without this some samples will loop forever.
This commit is contained in:
parent
98276aeb91
commit
df85228ba4
1 changed files with 2 additions and 0 deletions
|
@ -759,6 +759,8 @@ OGG_PauseCmd(void)
|
|||
ogg_status = PAUSE;
|
||||
ogg_numbufs = 0;
|
||||
}
|
||||
|
||||
AL_UnqueueRawSamples();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue