Mercurial > mplayer.hg
changeset 7897:7674e94baff7
Change SDL_(Un)lockAudio to PauseAudio() (works better)
checked by Arpi
author | colin |
---|---|
date | Thu, 24 Oct 2002 18:13:24 +0000 |
parents | e91e61212aea |
children | 4bb38736c381 |
files | libao2/ao_sdl.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/ao_sdl.c Thu Oct 24 18:12:40 2002 +0000 +++ b/libao2/ao_sdl.c Thu Oct 24 18:13:24 2002 +0000 @@ -258,7 +258,7 @@ { //printf("SDL: audio_pause called!\n"); - SDL_LockAudio(); + SDL_PauseAudio(1); } @@ -266,7 +266,7 @@ static void audio_resume() { //printf("SDL: audio_resume called!\n"); - SDL_UnlockAudio(); + SDL_PauseAudio(0); }