MacOsDeviceFinder: Rename kAudioObjectPropertyElementMaster to kAudioObjectPropertyElementMain

This commit is contained in:
Jonas Kvinge 2023-08-27 01:14:42 +02:00
parent 8e5360ac38
commit 6815f8c9b7

View File

@ -69,7 +69,7 @@ EngineDeviceList MacOsDeviceFinder::ListDevices() {
AudioObjectPropertyAddress address = { AudioObjectPropertyAddress address = {
kAudioHardwarePropertyDevices, kAudioHardwarePropertyDevices,
kAudioObjectPropertyScopeGlobal, kAudioObjectPropertyScopeGlobal,
kAudioObjectPropertyElementMaster kAudioObjectPropertyElementMain
}; };
UInt32 device_size_bytes = 0; UInt32 device_size_bytes = 0;