diff --git a/src/juce_appframework/audio/devices/juce_AudioDeviceManager.cpp b/src/juce_appframework/audio/devices/juce_AudioDeviceManager.cpp index a40d9e2a9e..f2419ce793 100644 --- a/src/juce_appframework/audio/devices/juce_AudioDeviceManager.cpp +++ b/src/juce_appframework/audio/devices/juce_AudioDeviceManager.cpp @@ -370,7 +370,7 @@ void AudioDeviceManager::setOutputChannels (const BitArray& newEnabledChannels, const bool treatAsChosenDevice) { if (currentAudioDevice != 0 - && newEnabledChannels != inputChannels) + && newEnabledChannels != outputChannels) { setAudioDevice (currentAudioDevice->getName(), currentAudioDevice->getCurrentBufferSizeSamples(),