Sets the enable and solo state for a specific band.
| 685 | |
| 686 | // Sets the enable and solo state for a specific band. |
| 687 | void Multiband::setBandState(int bandIndex, BandState state, juce::NotificationType notification) |
| 688 | { |
| 689 | // Ensure the index is valid. |
| 690 | jassert(bandIndex >= 0 && bandIndex < bandUIs.size()); |
| 691 | bandUIs[bandIndex].enableButton->setToggleState(state.isEnabled, notification); |
| 692 | bandUIs[bandIndex].soloButton->setToggleState(state.isSoloed, notification); |
| 693 | } |
| 694 | |
| 695 | // Copies the complete settings (state and parameters) from one band to another. |
| 696 | void Multiband::copyBandSettings(int targetIndex, int sourceIndex) |
nothing calls this directly
no outgoing calls
no test coverage detected