mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
MIDILogger: Update bus layouts to support loading in Cakewalk
This commit is contained in:
parent
793df5dd3d
commit
321cab0c15
1 changed files with 5 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue