[vlc-commits] [Git][videolan/vlc][master] macosx: Fix use of deprecated kAudioHardwareServiceDeviceProperty_VirtualMasterVolume

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Apr 7 10:01:34 UTC 2024



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
1d06870f by Claudio Cambra at 2024-04-07T09:41:13+00:00
macosx: Fix use of deprecated kAudioHardwareServiceDeviceProperty_VirtualMasterVolume

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


1 changed file:

- modules/gui/macosx/os-integration/VLCSystemVolume.m


Changes:

=====================================
modules/gui/macosx/os-integration/VLCSystemVolume.m
=====================================
@@ -31,7 +31,7 @@
 static const AudioObjectPropertyAddress virtualMasterPropertyAddress = {
     .mElement   = kAudioObjectPropertyElementMaster,
     .mScope     = kAudioObjectPropertyScopeOutput,
-    .mSelector  = kAudioHardwareServiceDeviceProperty_VirtualMasterVolume,
+    .mSelector  = kAudioHardwareServiceDeviceProperty_VirtualMainVolume,
 };
 
 @implementation VLCSystemVolume



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1d06870f2d939de96e8f96b357804c60b98e5a38

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1d06870f2d939de96e8f96b357804c60b98e5a38
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list