Browse Source

CoreAudio: Fix deprecation warning when building for C++20

v7.0.9
reuk 2 years ago
parent
commit
9b131c9628
No known key found for this signature in database GPG Key ID: FCB43929F012EE5C
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_devices/native/juce_CoreAudio_mac.cpp

+ 1
- 1
modules/juce_audio_devices/native/juce_CoreAudio_mac.cpp View File

@@ -467,7 +467,7 @@ public:
auto newBitDepth = jmax (getBitDepth (newInput), getBitDepth (newOutput));
#if JUCE_AUDIOWORKGROUP_TYPES_AVAILABLE
audioWorkgroup = [=]() -> AudioWorkgroup
audioWorkgroup = [this]() -> AudioWorkgroup
{
AudioObjectPropertyAddress pa;
pa.mSelector = kAudioDevicePropertyIOThreadOSWorkgroup;


Loading…
Cancel
Save