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

Method getBandOutputRMSLevel

Source/PluginProcessor.cpp:2394–2405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2392}
2393
2394float FireAudioProcessor::getBandOutputRMSLevel(int band, int channel) const
2395{
2396 if (juce::isPositiveAndBelow(band, bands.size()))
2397 {
2398 if (auto* bandProcessor = bands[band].get())
2399 {
2400 return channel == 0 ? bandProcessor->mOutputLeftRMS.load() : bandProcessor->mOutputRightRMS.load();
2401 }
2402 }
2403 jassertfalse; // Invalid band index
2404 return 0.0f;
2405}
2406
2407float FireAudioProcessor::getBandInputPeakLevel(int band, int channel) const
2408{

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected