1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fix some LLVM 17 compiler warnings

This commit is contained in:
Tom Poole 2023-09-21 14:48:07 +01:00
parent 951b873c14
commit 2fb19ffd8f
176 changed files with 867 additions and 894 deletions

View file

@ -689,7 +689,7 @@ public:
scopedProcID = [&self = *this,
&lock = callbackLock,
nextProcID = ScopedAudioDeviceIOProcID { *this, deviceID, audioIOProc },
deviceID = deviceID]() mutable -> ScopedAudioDeviceIOProcID
dID = deviceID]() mutable -> ScopedAudioDeviceIOProcID
{
// It *looks* like AudioDeviceStart may start the audio callback running, and then
// immediately lock an internal mutex.
@ -703,7 +703,7 @@ public:
{
const ScopedUnlock su (lock);
if (self.OK (AudioDeviceStart (deviceID, procID)))
if (self.OK (AudioDeviceStart (dID, procID)))
return std::move (nextProcID);
}