Browse Source

Connecting an output node to a processor is an input and vice versa

tags/2021-05-28
hogliux 9 years ago
parent
commit
0141d0e1a6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_audio_processors/processors/juce_AudioProcessorGraph.cpp

+ 2
- 2
modules/juce_audio_processors/processors/juce_AudioProcessorGraph.cpp View File

@@ -1646,8 +1646,8 @@ void AudioProcessorGraph::AudioGraphIOProcessor::setParentGraph (AudioProcessorG
if (graph != nullptr)
{
setPlayConfigDetails (type == audioInputNode ? graph->getMainBusNumInputChannels() : 0,
type == audioOutputNode ? graph->getMainBusNumOutputChannels() : 0,
setPlayConfigDetails (type == audioOutputNode ? graph->getMainBusNumOutputChannels() : 0,
type == audioInputNode ? graph->getMainBusNumInputChannels() : 0,
getSampleRate(),
getBlockSize());


Loading…
Cancel
Save