- ***************
- *** 68,78 ****
- * risk compilation errors. The header AudioComponent.h
- * was introduced in 10.6 so use it to decide which
- * type definition to use. */
- - #ifdef __AUDIOCOMPONENT_H__
- AudioComponentDescription desc;
- - #else
- - ComponentDescription desc;
- - #endif
- AUGraphNodeInfo(graph, node, &desc, &unit);
- comp_type = desc.componentType;
- } else
- --- 68,74 ----
- * risk compilation errors. The header AudioComponent.h
- * was introduced in 10.6 so use it to decide which
- * type definition to use. */
- AudioComponentDescription desc;
- AUGraphNodeInfo(graph, node, &desc, &unit);
- comp_type = desc.componentType;
- } else
- ***************
- *** 159,165 ****
- #if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
- if (MacOSVersionIsAtLeast(10, 5, 0)) {
- - if (MusicSequenceFileLoad(_sequence, url, 0, 0) != noErr) {
- DEBUG(driver, 0, "cocoa_m: Failed to load MIDI file");
- CFRelease(url);
- --- 155,161 ----
- #if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
- if (MacOSVersionIsAtLeast(10, 5, 0)) {
- + if (MusicSequenceFileLoad(_sequence, url, kMusicSequenceFile_AnyType, 0) != noErr) {
- DEBUG(driver, 0, "cocoa_m: Failed to load MIDI file");
- CFRelease(url);