mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
This commit is contained in:
parent
c9b06c237b
commit
f2b5cdc35e
1 changed files with 6 additions and 0 deletions
|
|
@ -411,6 +411,12 @@ const String AudioDeviceManager::setAudioDeviceSetup (const AudioDeviceSetup& ne
|
|||
outputChannels.clear();
|
||||
outputChannels.setRange (0, numOutputChansNeeded, true);
|
||||
}
|
||||
|
||||
if (newSetup.inputDeviceName.isEmpty())
|
||||
inputChannels.clear();
|
||||
|
||||
if (newSetup.outputDeviceName.isEmpty())
|
||||
outputChannels.clear();
|
||||
}
|
||||
|
||||
if (! newSetup.useDefaultInputChannels)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue