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

Method getBandState

Source/Panels/SpectrogramPanel/Multiband.cpp:679–684  ·  view source on GitHub ↗

Gets the enable and solo state for a specific band.

Source from the content-addressed store, hash-verified

677
678// Gets the enable and solo state for a specific band.
679Multiband::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.
687void Multiband::setBandState(int bandIndex, BandState state, juce::NotificationType notification)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected