MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / getBandOutputPeakLevel

Method getBandOutputPeakLevel

Source/PluginProcessor.cpp:2420–2431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2418}
2419
2420float 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
2433void FireAudioProcessor::assignLfoToTarget(int sourceLfoIndex, const juce::String& targetParameterID)
2434{

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected