diff options
| author | Max Horn | 2005-05-05 11:57:52 +0000 | 
|---|---|---|
| committer | Max Horn | 2005-05-05 11:57:52 +0000 | 
| commit | 28e40b33a7fbc70d1d882e159eadd29dfbcef0ef (patch) | |
| tree | de7ea7854a5880295470e3eeb30a5b9181b2cb94 /backends/midi | |
| parent | 54bf9bf1ad941b57c5ffd2dc0f2cf1795598b3b9 (diff) | |
| download | scummvm-rg350-28e40b33a7fbc70d1d882e159eadd29dfbcef0ef.tar.gz scummvm-rg350-28e40b33a7fbc70d1d882e159eadd29dfbcef0ef.tar.bz2 scummvm-rg350-28e40b33a7fbc70d1d882e159eadd29dfbcef0ef.zip | |
Add a comment regarding use of CoreAudio/AudioUnits v1 API
svn-id: r17916
Diffstat (limited to 'backends/midi')
| -rw-r--r-- | backends/midi/coreaudio.cpp | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/backends/midi/coreaudio.cpp b/backends/midi/coreaudio.cpp index d885a1c2c9..b32fee88c1 100644 --- a/backends/midi/coreaudio.cpp +++ b/backends/midi/coreaudio.cpp @@ -62,7 +62,10 @@ int MidiDriver_CORE::open() {  	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; | 
