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:
parent
951b873c14
commit
2fb19ffd8f
176 changed files with 867 additions and 894 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue