mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-21 23:43:14 -04:00
frames computation based on 64th of a tact, fixes BB-pattern arbitrary positioning in song editor
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@281 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -106,10 +106,10 @@ void engine::close( void )
|
||||
|
||||
|
||||
|
||||
void engine::updateFramesPerTact( void )
|
||||
void engine::updateFramesPerTact64th( void )
|
||||
{
|
||||
m_frames_per_tact = m_mixer->sampleRate() * 60.0f * BEATS_PER_TACT
|
||||
/ m_songEditor->getTempo();
|
||||
m_frames_per_tact64th = m_mixer->sampleRate() * 60.0f * BEATS_PER_TACT
|
||||
/ 64.0f / m_songEditor->getTempo();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user