diff options
author | Robin Gareus <robin@gareus.org> | 2015-07-22 20:20:11 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-07-22 20:20:11 +0200 |
commit | c0aa5a8d6bd57a07ffc876c14fbf4fe19c1ba356 (patch) | |
tree | 2da584cca488d8ae784ec3a1cb0cee0c864908a0 /libs | |
parent | 775a4000072ec4c4cfe446ecb00362119cca2ca2 (diff) |
fix typo in old (pre 10.6) coreaudio API wrapper
fixes aggregate device support for PPC builds.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/backends/coreaudio/coreaudio_pcmio.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |