This repository has been archived by the owner. It is now read-only.
Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protect SDL_PauseAudio*() with the audio callback lock.
Otherwise, you can pause audio and still have the callback running, or run one more time. This makes sure the callback is definitely stopped by the time you return from SDL_PauseAudio().
- Loading branch information