Browse Source

MIDILogger: Update bus layouts to support loading in Cakewalk

v7.0.9
reuk 3 years ago
parent
commit
321cab0c15
No known key found for this signature in database GPG Key ID: FCB43929F012EE5C
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      examples/Plugins/MidiLoggerPluginDemo.h

+ 5
- 3
examples/Plugins/MidiLoggerPluginDemo.h View File

@@ -337,9 +337,11 @@ private:
static BusesProperties getBusesLayout()
{
// Live doesn't like to load midi-only plugins, so we add an audio output there.
return PluginHostType().isAbletonLive() ? BusesProperties().withOutput ("out", AudioChannelSet::stereo())
: BusesProperties();
// Live and Cakewalk don't like to load midi-only plugins, so we add an audio output there.
const PluginHostType host;
return host.isAbletonLive() || host.isSonar()
? BusesProperties().withOutput ("out", AudioChannelSet::stereo())
: BusesProperties();
}
ValueTree state { "state" };


Loading…
Cancel
Save