Skip to content

Commit

Permalink
Fix for piano roll bug (1.0.93 - Play is silent inside piano-roll LMM…
Browse files Browse the repository at this point in the history
  • Loading branch information
krafczyk committed Sep 12, 2014
1 parent 90259a1 commit 4649c6a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/tracks/InstrumentTrack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,12 +563,10 @@ bool InstrumentTrack::play( const MidiTime & _start, const fpp_t _frames,
const float frames_per_tick = engine::framesPerTick();

tcoVector tcos;
bbTrack * bb_track = NULL;
if( _tco_num >= 0 )
{
trackContentObject * tco = getTCO( _tco_num );
tcos.push_back( tco );
bb_track = bbTrack::findBBTrack( _tco_num );
}
else
{
Expand Down Expand Up @@ -633,7 +631,6 @@ bool InstrumentTrack::play( const MidiTime & _start, const fpp_t _frames,
frames_per_tick );

NotePlayHandle* notePlayHandle = new NotePlayHandle( this, _offset, note_frames, *cur_note );
notePlayHandle->setBBTrack( bb_track );
// are we playing global song?
if( _tco_num < 0 )
{
Expand Down

0 comments on commit 4649c6a

Please sign in to comment.