mirror of https://github.com/mpv-player/mpv
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:
parent
02c9ff51d3
commit
16f5357770
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue