[Scummvm-cvs-logs] CVS: scummvm/backends/midi coreaudio.cpp,1.12,1.13

Max Horn fingolfin at users.sourceforge.net
Thu May 5 04:59:07 CEST 2005


Update of /cvsroot/scummvm/scummvm/backends/midi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2463

Modified Files:
	coreaudio.cpp 
Log Message:
Add a comment regarding use of CoreAudio/AudioUnits v1 API

Index: coreaudio.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/midi/coreaudio.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- coreaudio.cpp	18 Apr 2005 18:02:07 -0000	1.12
+++ coreaudio.cpp	5 May 2005 11:57:52 -0000	1.13
@@ -62,7 +62,10 @@
 	ComponentDescription compdesc;
 	Component compid;
 
-	// Open the Music Device
+	// Open the Music Device.
+	// We use the AudioUnit v1 API, even though it is deprecated, because
+	// this way we stay compatible with older OS X versions.
+	// For v2, we'd use kAudioUnitType_MusicDevice and kAudioUnitSubType_DLSSynth
 	compdesc.componentType = kAudioUnitComponentType;
 	compdesc.componentSubType = kAudioUnitSubType_MusicDevice;
 	compdesc.componentManufacturer = kAudioUnitID_DLSSynth;





More information about the Scummvm-git-logs mailing list