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

Method getBandInputRMSLevel

Source/PluginProcessor.cpp:2381–2392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2379}
2380
2381float FireAudioProcessor::getBandInputRMSLevel(int band, int channel) const
2382{
2383 if (juce::isPositiveAndBelow(band, bands.size()))
2384 {
2385 if (auto* bandProcessor = bands[band].get())
2386 {
2387 return channel == 0 ? bandProcessor->mInputLeftRMS.load() : bandProcessor->mInputRightRMS.load();
2388 }
2389 }
2390 jassertfalse; // Invalid band index
2391 return 0.0f;
2392}
2393
2394float FireAudioProcessor::getBandOutputRMSLevel(int band, int channel) const
2395{

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected