mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fix warning on VS2015
This commit is contained in:
parent
2d51b7d315
commit
a039090f5c
1 changed files with 3 additions and 3 deletions
6
modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp
Normal file → Executable file
6
modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp
Normal file → Executable file
|
|
@ -976,13 +976,13 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
void changeListenerCallback (ChangeBroadcaster* source) override
|
||||
void changeListenerCallback (ChangeBroadcaster* newSource) override
|
||||
{
|
||||
if (AudioTransportSource* currentTransport
|
||||
= dynamic_cast<AudioTransportSource*> (getCurrentSource()))
|
||||
{
|
||||
ignoreUnused (source);
|
||||
jassert (source == currentTransport);
|
||||
ignoreUnused (newSource);
|
||||
jassert (newSource == currentTransport);
|
||||
|
||||
if (! currentTransport->isPlaying())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue