MCPcopy Create free account
hub / github.com/andrewreeman/SpectralSuite / parameterValueChanged

Method parameterValueChanged

shared/FftStyleChoiceAdapter.cpp:51–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void FftStyleChoiceAdapter::parameterValueChanged(int, float)
52{
53 auto choiceIndex = m_parameter->getIndex();
54 if(choiceIndex == 0) {
55 m_currentStyle = FftStyle::DEFAULT;
56 }
57 else if(choiceIndex == 1) {
58 m_currentStyle = FftStyle::PVOC;
59 }
60 else {
61 m_currentStyle = FftStyle::DEFAULT;
62 }
63
64 m_shouldChangeFftStyle = true;
65}
66

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected