diff --git a/examples/Plugins/MidiLoggerPluginDemo.h b/examples/Plugins/MidiLoggerPluginDemo.h index 7602d14549..104ef89f41 100644 --- a/examples/Plugins/MidiLoggerPluginDemo.h +++ b/examples/Plugins/MidiLoggerPluginDemo.h @@ -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" };