[Mplayer-cvslog] CVS: main/libao2 ao_macosx.c,1.4,1.5
Nicolas Plourde CVS
syncmail at mplayerhq.hu
Sat Oct 16 02:56:42 CEST 2004
CVS change done by Nicolas Plourde CVS
Update of /cvsroot/mplayer/main/libao2
In directory mail:/var2/tmp/cvs-serv32657/libao2
Modified Files:
ao_macosx.c
Log Message:
Fix incompatibility with audio devices with more then 2 channels
Index: ao_macosx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_macosx.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ao_macosx.c 10 Jul 2004 00:23:19 -0000 1.4
+++ ao_macosx.c 16 Oct 2004 00:56:40 -0000 1.5
@@ -244,7 +244,7 @@
ao_msg(MSGT_AO,MSGL_V, "%5d ao->buffer_len\n", (int)ao->buffer_len);
ao_data.samplerate = ao->outputStreamBasicDescription.mSampleRate;
- ao_data.channels = ao->outputStreamBasicDescription.mChannelsPerFrame;
+ ao_data.channels = channels;
ao_data.outburst = ao_data.buffersize = ao->buffer_len;
ao_data.bps =
ao_data.samplerate * ao->outputStreamBasicDescription.mBytesPerFrame;
More information about the MPlayer-cvslog
mailing list