fix typo in old (pre 10.6) coreaudio API wrapper
fixes aggregate device support for PPC builds.
This commit is contained in:
parent
775a400007
commit
c0aa5a8d6b
@ -82,7 +82,7 @@ static OSStatus GetHardwarePropertyWrapper (AudioDevicePropertyID prop, UInt32*
|
|||||||
property_address.mElement = kAudioObjectPropertyElementMaster;
|
property_address.mElement = kAudioObjectPropertyElementMaster;
|
||||||
return AudioObjectGetPropertyData(kAudioObjectSystemObject, &property_address, 0, NULL, size, d);
|
return AudioObjectGetPropertyData(kAudioObjectSystemObject, &property_address, 0, NULL, size, d);
|
||||||
#else
|
#else
|
||||||
return AudioHardwareGetProperty (kAudioHardwarePropertyDevices, size, d);
|
return AudioHardwareGetProperty (prop, size, d);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user