made muting automation-tracks work (closes #2010770)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1275 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -55,6 +55,11 @@ automationTrack::~automationTrack()
|
||||
bool automationTrack::play( const midiTime & _start, const fpp_t _frames,
|
||||
const f_cnt_t _frame_base, Sint16 _tco_num )
|
||||
{
|
||||
if( isMuted() )
|
||||
{
|
||||
return( FALSE );
|
||||
}
|
||||
|
||||
tcoVector tcos;
|
||||
getTCOsInRange( tcos, _start, _start + static_cast<int>(
|
||||
_frames / engine::framesPerTick() ) );
|
||||
|
||||
Reference in New Issue
Block a user