From 87bb8fcc5774d8db4c4c9d0a5a1d99216c57a18e Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Fri, 12 Mar 2021 10:58:23 +0100 Subject: [PATCH] Fixed #6882: Use default output device on mac (cherry picked from commit b09d2044e13577c68127effff3d3716c45f7571d) --- channels/rdpsnd/client/mac/rdpsnd_mac.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/rdpsnd/client/mac/rdpsnd_mac.m b/channels/rdpsnd/client/mac/rdpsnd_mac.m index 5ccdbd6..8a01d9b 100644 --- a/channels/rdpsnd/client/mac/rdpsnd_mac.m +++ b/channels/rdpsnd/client/mac/rdpsnd_mac.m @@ -144,7 +144,7 @@ static BOOL rdpsnd_mac_open(rdpsndDevicePlugin *device, const AUDIO_FORMAT *form OSStatus err; NSError *error; rdpsndMacPlugin *mac = (rdpsndMacPlugin *)device; - AudioObjectPropertyAddress propertyAddress = { kAudioHardwarePropertyDefaultSystemOutputDevice, + AudioObjectPropertyAddress propertyAddress = { kAudioHardwarePropertyDefaultOutputDevice, kAudioObjectPropertyScopeGlobal, kAudioObjectPropertyElementMaster }; -- 2.7.4