Browse Source

DSPModulePluginDemo: Fix crash in Live due to selecting unsupported bus layout

v6.1.6
reuk 4 years ago
parent
commit
f3c65c4cb3
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      examples/Plugins/DSPModulePluginDemo.h

+ 7
- 0
examples/Plugins/DSPModulePluginDemo.h View File

@@ -219,6 +219,13 @@ public:
void changeProgramName (int, const String&) override {}
//==============================================================================
bool isBusesLayoutSupported (const BusesLayout& layout) const override
{
return layout == BusesLayout { { AudioChannelSet::stereo() },
{ AudioChannelSet::stereo() } };
}
//==============================================================================
void getStateInformation (MemoryBlock& destData) override
{


Loading…
Cancel
Save