| 2418 | } |
| 2419 | |
| 2420 | float FireAudioProcessor::getBandOutputPeakLevel(int band, int channel) const |
| 2421 | { |
| 2422 | if (juce::isPositiveAndBelow(band, bands.size())) |
| 2423 | { |
| 2424 | if (auto* bandProcessor = bands[band].get()) |
| 2425 | { |
| 2426 | return channel == 0 ? bandProcessor->mOutputLeftPeak.load() : bandProcessor->mOutputRightPeak.load(); |
| 2427 | } |
| 2428 | } |
| 2429 | jassertfalse; // Invalid band index |
| 2430 | return 0.0f; |
| 2431 | } |
| 2432 | |
| 2433 | void FireAudioProcessor::assignLfoToTarget(int sourceLfoIndex, const juce::String& targetParameterID) |
| 2434 | { |