MCPcopy Create free account
hub / github.com/LMMS/lmms / updateValueBuffer

Method updateValueBuffer

src/core/midi/MidiController.cpp:58–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57
58void 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
73void MidiController::updateName()

Callers

nothing calls this directly

Calls 2

fillMethod · 0.80
interpolateMethod · 0.45

Tested by

no test coverage detected