mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AudioProcessorGraph: Tidy up long line
This commit is contained in:
parent
776de625f9
commit
43b9dc4905
1 changed files with 8 additions and 4 deletions
|
|
@ -473,10 +473,14 @@ public:
|
||||||
|
|
||||||
preparedNodes.insert (node->nodeID);
|
preparedNodes.insert (node->nodeID);
|
||||||
|
|
||||||
node->getProcessor()->setProcessingPrecision (node->getProcessor()->supportsDoublePrecisionProcessing() ? current->precision
|
auto* nodeProcessor = node->getProcessor();
|
||||||
: AudioProcessor::singlePrecision);
|
const auto precision = nodeProcessor->supportsDoublePrecisionProcessing()
|
||||||
node->getProcessor()->setRateAndBufferSizeDetails (current->sampleRate, current->blockSize);
|
? current->precision
|
||||||
node->getProcessor()->prepareToPlay (current->sampleRate, current->blockSize);
|
: AudioProcessor::singlePrecision;
|
||||||
|
|
||||||
|
nodeProcessor->setProcessingPrecision (precision);
|
||||||
|
nodeProcessor->setRateAndBufferSizeDetails (current->sampleRate, current->blockSize);
|
||||||
|
nodeProcessor->prepareToPlay (current->sampleRate, current->blockSize);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue