| 56 | |
| 57 | |
| 58 | void MidiController::updateValueBuffer() |
| 59 | { |
| 60 | if( m_previousValue != m_lastValue ) |
| 61 | { |
| 62 | m_valueBuffer.interpolate( m_previousValue, m_lastValue ); |
| 63 | m_previousValue = m_lastValue; |
| 64 | } |
| 65 | else |
| 66 | { |
| 67 | m_valueBuffer.fill( m_lastValue ); |
| 68 | } |
| 69 | m_bufferLastUpdated = s_periods; |
| 70 | } |
| 71 | |
| 72 | |
| 73 | void MidiController::updateName() |
nothing calls this directly
no test coverage detected