Change SDL_(Un)lockAudio to PauseAudio() (works better)

checked by Arpi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7898 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
colin 2002-10-24 18:13:24 +00:00
parent 02c9ff51d3
commit 16f5357770
1 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ static void audio_pause()
{ {
//printf("SDL: audio_pause called!\n"); //printf("SDL: audio_pause called!\n");
SDL_LockAudio(); SDL_PauseAudio(1);
} }
@ -266,7 +266,7 @@ static void audio_pause()
static void audio_resume() static void audio_resume()
{ {
//printf("SDL: audio_resume called!\n"); //printf("SDL: audio_resume called!\n");
SDL_UnlockAudio(); SDL_PauseAudio(0);
} }