13
0

fix typo in old (pre 10.6) coreaudio API wrapper

fixes aggregate device support for PPC builds.
This commit is contained in:
Robin Gareus 2015-07-22 20:20:11 +02:00
parent 775a400007
commit c0aa5a8d6b

View File

@ -82,7 +82,7 @@ static OSStatus GetHardwarePropertyWrapper (AudioDevicePropertyID prop, UInt32*
property_address.mElement = kAudioObjectPropertyElementMaster;
return AudioObjectGetPropertyData(kAudioObjectSystemObject, &property_address, 0, NULL, size, d);
#else
return AudioHardwareGetProperty (kAudioHardwarePropertyDevices, size, d);
return AudioHardwareGetProperty (prop, size, d);
#endif
}