[Mplayer-cvslog] CVS: main/libao2 ao_sdl.c,1.18,1.19
Colin Leroy CVS
colin at mplayerhq.hu
Thu Oct 24 20:13:27 CEST 2002
Update of /cvsroot/mplayer/main/libao2
In directory mail:/var/tmp.root/cvs-serv29957
Modified Files:
ao_sdl.c
Log Message:
Change SDL_(Un)lockAudio to PauseAudio() (works better)
checked by Arpi
Index: ao_sdl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_sdl.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ao_sdl.c 7 Oct 2002 20:01:28 -0000 1.18
+++ ao_sdl.c 24 Oct 2002 18:13:24 -0000 1.19
@@ -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);
}
More information about the MPlayer-cvslog
mailing list