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

Method currentValue

src/core/Controller.cpp:103–111  ·  view source on GitHub ↗

Get current value, with an offset into the current buffer for sample exactness

Source from the content-addressed store, hash-verified

101
102// Get current value, with an offset into the current buffer for sample exactness
103float Controller::currentValue( int _offset )
104{
105 if( _offset == 0 || isSampleExact() )
106 {
107 m_currentValue = fittedValue( value( _offset ) );
108 }
109
110 return m_currentValue;
111}
112
113
114

Callers 2

controllerValueMethod · 0.80
currentValueFunction · 0.80

Calls 1

valueFunction · 0.50

Tested by

no test coverage detected