Browse Source

Made sure that the Bela audio device closes when the device is deleted

tags/2021-05-28
jules 7 years ago
parent
commit
14082c50e5
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      modules/juce_audio_devices/native/juce_linux_Bela.cpp

+ 4
- 1
modules/juce_audio_devices/native/juce_linux_Bela.cpp View File

@@ -33,7 +33,10 @@ public:
Bela_defaultSettings (&defaultSettings); Bela_defaultSettings (&defaultSettings);
} }
~BelaAudioIODevice() {}
~BelaAudioIODevice()
{
close();
}
//============================================================================== //==============================================================================
StringArray getOutputChannelNames() override { return { "Out #1", "Out #2" }; } StringArray getOutputChannelNames() override { return { "Out #1", "Out #2" }; }


Loading…
Cancel
Save