Fixed deprecated mac symbol
This commit is contained in:
parent
0c7e6c3c2d
commit
951a83e295
@ -145,7 +145,12 @@ static BOOL rdpsnd_mac_open(rdpsndDevicePlugin *device, const AUDIO_FORMAT *form
|
||||
rdpsndMacPlugin *mac = (rdpsndMacPlugin *)device;
|
||||
AudioObjectPropertyAddress propertyAddress = { kAudioHardwarePropertyDefaultOutputDevice,
|
||||
kAudioObjectPropertyScopeGlobal,
|
||||
kAudioObjectPropertyElementMaster };
|
||||
#if defined(MAC_OS_VERSION_12_0)
|
||||
kAudioObjectPropertyElementMain
|
||||
#else
|
||||
kAudioObjectPropertyElementMaster
|
||||
#endif
|
||||
};
|
||||
|
||||
if (mac->isOpen)
|
||||
return TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user