mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
DSPModulePluginDemo: Fix crash in Live due to selecting unsupported bus layout
This commit is contained in:
parent
22d935ad3e
commit
f3c65c4cb3
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue