[MPlayer-cvslog] CVS: main/libao2 ao_macosx.c,1.13,1.14

Nicolas Plourde CVS syncmail at mplayerhq.hu
Sat May 14 03:15:00 CEST 2005


CVS change done by Nicolas Plourde CVS

Update of /cvsroot/mplayer/main/libao2
In directory mail:/var2/tmp/cvs-serv16357/libao2

Modified Files:
	ao_macosx.c 
Log Message:
indicate the number of channels required, patch by Chris Roccati <roccati at pobox.com>

Index: ao_macosx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_macosx.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ao_macosx.c	3 Mar 2005 13:46:54 -0000	1.13
+++ ao_macosx.c	14 May 2005 01:14:58 -0000	1.14
@@ -337,6 +337,7 @@
 	memset(&ao->outputStreamBasicDescription,0,propertySize);
 	ao->outputStreamBasicDescription.mSampleRate=rate;
 	ao->outputStreamBasicDescription.mFormatID=kAudioFormatLinearPCM;
+	ao->outputStreamBasicDescription.mChannelsPerFrame=channels;
 //	status = AudioDeviceGetProperty(ao->outputDeviceID, 0, false, kAudioStreamPropertyPhysicalFormatMatch, &propertySize, &ao->outputStreamBasicDescription);
 	status = AudioDeviceGetProperty(ao->outputDeviceID, 0, false, kAudioDevicePropertyStreamFormatMatch, &propertySize, &ao->outputStreamBasicDescription);
 	if (status || ao->outputStreamBasicDescription.mFormatID!=kAudioFormatLinearPCM) {




More information about the MPlayer-cvslog mailing list