[Mplayer-cvslog] CVS: main/libao2 ao_sdl.c,1.9,1.10

Felix Buenemann atmosfear at users.sourceforge.net
Sat Jun 9 10:56:17 CEST 2001


Update of /cvsroot/mplayer/main/libao2
In directory usw-pr-cvs1:/tmp/cvs-serv26175/libao2

Modified Files:
	ao_sdl.c 
Log Message:
Better format info.


Index: ao_sdl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_sdl.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** ao_sdl.c	2001/06/09 07:36:32	1.9
--- ao_sdl.c	2001/06/09 08:56:15	1.10
***************
*** 151,155 ****
  	for(i=0;i<NUM_BUFS;i++) buffer[i]=(unsigned char *) malloc(BUFFSIZE);
  
! 	printf("SDL: Samplerate: %iHz Channels: %s Format %iBit\n", rate, (channels > 1) ? "Stereo" : "Mono", format);
  
  	if(sdl_adriver) {
--- 151,155 ----
  	for(i=0;i<NUM_BUFS;i++) buffer[i]=(unsigned char *) malloc(BUFFSIZE);
  
! 	printf("SDL: Samplerate: %iHz Channels: %s Format %s\n", rate, (channels > 1) ? "Stereo" : "Mono", audio_out_format_name(format));
  
  	if(sdl_adriver) {
***************
*** 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 */
***************
*** 247,252 ****
  static void audio_pause()
  {
!     // for now, just call reset();
!     reset();
  }
  
--- 247,256 ----
  static void audio_pause()
  {
! 
! 	printf("SDL: audio_pause called!\n");	
! 	
! 	// for now, just call reset();
! 	//reset();
! 
  }
  


_______________________________________________
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