Skip to content

Commit

Permalink
- fix FL Studio summing to mono when using mono to stereo option in F…
Browse files Browse the repository at this point in the history
…X export
  • Loading branch information
christoph-hart committed Nov 14, 2024
1 parent 6090bd3 commit 558501f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions hi_core/hi_dsp/plugin_parameter/PluginParameterProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,18 @@ AudioProcessor::BusesProperties PluginParameterAudioProcessor::getHiseBusPropert

#if FRONTEND_IS_PLUGIN
#if HI_SUPPORT_MONO_CHANNEL_LAYOUT

auto m2s = BusesProperties().withInput("Input", AudioChannelSet::mono()).withOutput("Output", AudioChannelSet::stereo());
auto s2s = BusesProperties().withInput("Input", AudioChannelSet::stereo()).withOutput("Output", AudioChannelSet::stereo());

#if HI_SUPPORT_MONO_TO_STEREO
return BusesProperties().withInput("Input", AudioChannelSet::mono()).withOutput("Output", AudioChannelSet::stereo());
// FL Studio is at it again...
if(!PluginHostType().isFruityLoops())
return m2s;
else
return s2s;
#else
return BusesProperties().withInput("Input", AudioChannelSet::stereo()).withOutput("Output", AudioChannelSet::stereo());
return s2s;
#endif
#else

Expand Down

0 comments on commit 558501f

Please sign in to comment.