Skip to content

Commit

Permalink
Stereo Only output advertised (#6774)
Browse files Browse the repository at this point in the history
Surge requires stereo output. For some reason our JUCE bus constraint
didn't say that and you could therefore load crashing configurations
in logic. Correct.

Also bump the cmakelists project version.

Closes #6751
  • Loading branch information
baconpaul authored Jan 8, 2023
1 parent 6f117f9 commit d5ddc56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if(NOT BUILD_TESTING)
option(BUILD_TESTING "" OFF)
endif()

project(Surge VERSION 1.1.0 LANGUAGES C CXX ASM)
project(Surge VERSION 1.1.2 LANGUAGES C CXX ASM)

# Banner {{{
message(STATUS "It's Surge XT, folks! Version is ${PROJECT_VERSION}")
Expand Down
3 changes: 1 addition & 2 deletions src/surge-xt/SurgeSynthProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,7 @@ bool SurgeSynthProcessor::isBusesLayoutSupported(const BusesLayout &layouts) con
auto mocs = layouts.getMainOutputChannelSet();
auto mics = layouts.getMainInputChannelSet();

auto outputValid = (mocs == juce::AudioChannelSet::stereo()) ||
(mocs == juce::AudioChannelSet::mono()) || (mocs.isDisabled());
auto outputValid = (mocs == juce::AudioChannelSet::stereo()) || (mocs.isDisabled());
auto inputValid = (mics == juce::AudioChannelSet::stereo()) ||
(mics == juce::AudioChannelSet::mono()) || (mics.isDisabled());

Expand Down

0 comments on commit d5ddc56

Please sign in to comment.