Add a comment regarding use of CoreAudio/AudioUnits v1 API

svn-id: r17916
This commit is contained in:
Max Horn 2005-05-05 11:57:52 +00:00
parent 54bf9bf1ad
commit 28e40b33a7

View File

@ -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;