From 28e40b33a7fbc70d1d882e159eadd29dfbcef0ef Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 5 May 2005 11:57:52 +0000 Subject: Add a comment regarding use of CoreAudio/AudioUnits v1 API svn-id: r17916 --- backends/midi/coreaudio.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'backends') 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; -- cgit v1.2.3