mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AudioProcessorPlayer: Fix crash when number or active outs is less than hardware outs
This commit is contained in:
parent
b1b1bf37f1
commit
2ab1b462b4
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ static void initialiseIoBuffers (ChannelInfo<const float> ins,
|
|||
|
||||
for (auto i = processorOuts; i < processorIns; ++i)
|
||||
{
|
||||
channels[totalNumChans] = tempBuffer.getWritePointer (i - outs.numChannels);
|
||||
channels[totalNumChans] = tempBuffer.getWritePointer (i - processorOuts);
|
||||
prepareInputChannel (i);
|
||||
++totalNumChans;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue