play the automation track only when playing song
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@261 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1033,10 +1033,13 @@ void songEditor::processNextBuffer( void )
|
||||
m_playPos[m_playMode].currentFrame();
|
||||
}
|
||||
|
||||
m_automation_track->play( m_playPos[m_playMode],
|
||||
if( m_playMode == PLAY_SONG )
|
||||
{
|
||||
m_automation_track->play( m_playPos[m_playMode],
|
||||
m_playPos[m_playMode].currentFrame(),
|
||||
played_frames, total_frames_played,
|
||||
tco_num );
|
||||
}
|
||||
|
||||
// loop through all tracks and play them if they're not muted
|
||||
for( trackVector::iterator it = tv.begin(); it != tv.end();
|
||||
|
||||
Reference in New Issue
Block a user