[Mplayer-cvslog] CVS: main/libao2 ao_sdl.c,1.10,1.11
Felix Buenemann
atmosfear at users.sourceforge.net
Mon Jun 11 01:43:40 CEST 2001
Update of /cvsroot/mplayer/main/libao2
In directory usw-pr-cvs1:/tmp/cvs-serv8784/libao2
Modified Files:
ao_sdl.c
Log Message:
Lock callback on pause, unlock on resume.
Index: ao_sdl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_sdl.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** ao_sdl.c 2001/06/09 08:56:15 1.10
--- ao_sdl.c 2001/06/10 23:43:37 1.11
***************
*** 231,235 ****
static void reset(){
! printf("SDL: reset called!\n");
/* Reset ring-buffer state */
--- 231,235 ----
static void reset(){
! //printf("SDL: reset called!\n");
/* Reset ring-buffer state */
***************
*** 248,256 ****
{
! printf("SDL: audio_pause called!\n");
- // for now, just call reset();
- //reset();
-
}
--- 248,254 ----
{
! //printf("SDL: audio_pause called!\n");
! SDL_LockAudio();
}
***************
*** 258,261 ****
--- 256,261 ----
static void audio_resume()
{
+ //printf("SDL: audio_resume called!\n");
+ SDL_UnlockAudio();
}
_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
More information about the MPlayer-cvslog
mailing list