Browse Source

Fixed a bug when displaying a "None" device in AudioDeviceSelectorComponent

tags/2021-05-28
tpoole 8 years ago
parent
commit
2fdff085b6
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      modules/juce_audio_utils/gui/juce_AudioDeviceSelectorComponent.cpp

+ 5
- 0
modules/juce_audio_utils/gui/juce_AudioDeviceSelectorComponent.cpp View File

@@ -488,8 +488,13 @@ public:
{
jassert (setup.manager->getCurrentAudioDevice() == nullptr); // not the correct device type!
inputChanLabel = nullptr;
outputChanLabel = nullptr;
sampleRateLabel = nullptr;
bufferSizeLabel = nullptr;
inputChanList = nullptr;
outputChanList = nullptr;
sampleRateDropDown = nullptr;
bufferSizeDropDown = nullptr;


Loading…
Cancel
Save