1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00

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

View File

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