[Mplayer-cvslog] CVS: main/libao2 ao_pcm.c,1.2,1.3

Felix Buenemann atmosfear at users.sourceforge.net
Tue Jun 12 16:37:34 CEST 2001


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

Modified Files:
	ao_pcm.c 
Log Message:
Ooops


Index: ao_pcm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_pcm.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** ao_pcm.c	2001/06/12 14:24:26	1.2
--- ao_pcm.c	2001/06/12 14:37:32	1.3
***************
*** 81,89 ****
  	}
  	
- 	wavhdr.fmt_length = 16; /* = format? */
  	wavhdr.channels = channels;
  	wavhdr.sample_rate = rate;
  	wavhdr.bytes_per_second = rate * (format / 8) * channels;
! 	wavhdr.bits = format,
  
  	printf("PCM: File: %s (%s) Samplerate: %iHz Channels: %s Format %s\n", ao_outputfilename, (ao_pcm_waveheader?"WAVE":"RAW PCM"), rate, (channels > 1) ? "Stereo" : "Mono", audio_out_format_name(format));
--- 81,88 ----
  	}
  	
  	wavhdr.channels = channels;
  	wavhdr.sample_rate = rate;
  	wavhdr.bytes_per_second = rate * (format / 8) * channels;
! 	wavhdr.bits = format;
  
  	printf("PCM: File: %s (%s) Samplerate: %iHz Channels: %s Format %s\n", ao_outputfilename, (ao_pcm_waveheader?"WAVE":"RAW PCM"), rate, (channels > 1) ? "Stereo" : "Mono", audio_out_format_name(format));


_______________________________________________
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