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

Method getSampleMaxValue

Source/PluginProcessor.cpp:1451–1459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1449}
1450
1451float FireAudioProcessor::getSampleMaxValue(int bandIndex)
1452{
1453 if (juce::isPositiveAndBelow(bandIndex, bands.size()))
1454 if (auto* band = bands[bandIndex].get())
1455 return band->mSampleMaxValue;
1456
1457 jassertfalse;
1458 return 0.0f;
1459}
1460
1461juce::AudioProcessorValueTreeState::ParameterLayout FireAudioProcessor::createParameters()
1462{

Callers 1

updateDriveMeterMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected