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

Method setAbsolutePosition

src/core/VstSyncController.cpp:139–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137
138
139void VstSyncController::setAbsolutePosition( double ticks )
140{
141#ifdef VST_SNC_LATENCY
142 m_syncData->ppqPos = ( ( ticks + 0 ) / 48.0 ) - m_syncData->m_latency;
143#else
144 m_syncData->ppqPos = ( ( ticks + 0 ) / 48.0 );
145#endif
146}
147
148
149

Callers 2

processNextBufferMethod · 0.80
stopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected