Skip to content

Commit

Permalink
Check output channel in case of mono fixes #435
Browse files Browse the repository at this point in the history
  • Loading branch information
asb2m10 committed Jul 21, 2024
1 parent aca5b82 commit 2c27328
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions Source/PluginProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,9 @@ void DexedAudioProcessor::processBlock(AudioSampleBuffer& buffer, MidiBuffer& mi
vuSignal = 0;
}

// DX7 is a mono synth
buffer.copyFrom(1, 0, channelData, numSamples, 1);
// DX7 is a mono synth, but copy it to the right channel is available
if ( buffer.getNumChannels() > 1 )
buffer.copyFrom(1, 0, channelData, numSamples, 1);
}


Expand Down
2 changes: 1 addition & 1 deletion libs/JUCE
Submodule JUCE updated 470 files
2 changes: 1 addition & 1 deletion libs/MTS-ESP
2 changes: 1 addition & 1 deletion libs/vst3sdk

0 comments on commit 2c27328

Please sign in to comment.