From c0aa5a8d6bd57a07ffc876c14fbf4fe19c1ba356 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 22 Jul 2015 20:20:11 +0200 Subject: [PATCH] fix typo in old (pre 10.6) coreaudio API wrapper fixes aggregate device support for PPC builds. --- libs/backends/coreaudio/coreaudio_pcmio.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/backends/coreaudio/coreaudio_pcmio.cc b/libs/backends/coreaudio/coreaudio_pcmio.cc index b6105c9c12..acf7afaa0c 100644 --- a/libs/backends/coreaudio/coreaudio_pcmio.cc +++ b/libs/backends/coreaudio/coreaudio_pcmio.cc @@ -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 }