| 49 | } |
| 50 | |
| 51 | void 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 |
nothing calls this directly
no outgoing calls
no test coverage detected