Skip to content

Commit

Permalink
Suppress midi in events on export (#3778)
Browse files Browse the repository at this point in the history
  • Loading branch information
zonkmachine authored Sep 12, 2017
1 parent cfb7a89 commit f26a02d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tracks/InstrumentTrack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@ MidiEvent InstrumentTrack::applyMasterKey( const MidiEvent& event )

void InstrumentTrack::processInEvent( const MidiEvent& event, const MidiTime& time, f_cnt_t offset )
{
if( Engine::getSong()->isExporting() )
{
return;
}

bool eventHandled = false;

switch( event.type() )
Expand Down

0 comments on commit f26a02d

Please sign in to comment.