Gets the enable and solo state for a specific band.
| 677 | |
| 678 | // Gets the enable and solo state for a specific band. |
| 679 | Multiband::BandState Multiband::getBandState(int bandIndex) |
| 680 | { |
| 681 | // Ensure the index is valid. |
| 682 | jassert(bandIndex >= 0 && bandIndex < bandUIs.size()); |
| 683 | return { bandUIs[bandIndex].enableButton->getToggleState(), bandUIs[bandIndex].soloButton->getToggleState() }; |
| 684 | } |
| 685 | |
| 686 | // Sets the enable and solo state for a specific band. |
| 687 | void Multiband::setBandState(int bandIndex, BandState state, juce::NotificationType notification) |
nothing calls this directly
no outgoing calls
no test coverage detected