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);
|
||||
|
||||
node->getProcessor()->setProcessingPrecision (node->getProcessor()->supportsDoublePrecisionProcessing() ? current->precision
|
||||
: AudioProcessor::singlePrecision);
|
||||
node->getProcessor()->setRateAndBufferSizeDetails (current->sampleRate, current->blockSize);
|
||||
node->getProcessor()->prepareToPlay (current->sampleRate, current->blockSize);
|
||||
auto* nodeProcessor = node->getProcessor();
|
||||
const auto precision = nodeProcessor->supportsDoublePrecisionProcessing()
|
||||
? current->precision
|
||||
: 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