| 1449 | } |
| 1450 | |
| 1451 | float 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 | |
| 1461 | juce::AudioProcessorValueTreeState::ParameterLayout FireAudioProcessor::createParameters() |
| 1462 | { |