fixed strange ALSA-sequencer behaviour when using MIDI-controllers and controlling intrument-tracks via MIDI (closes #2062907)

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1464 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-08-22 20:24:17 +00:00
parent 8c55ce52ac
commit b789cc4c68
2 changed files with 10 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
2008-08-22 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* src/core/midi/midi_alsa_seq.cpp:
fixed strange ALSA-sequencer behaviour when using MIDI-controllers and
controlling intrument-tracks via MIDI (closes #2062907)
* src/gui/piano_roll.cpp:
fixed notes appearing X times in pattern when recording from
MIDI-device (closes #2058971)

View File

@@ -428,6 +428,10 @@ void midiALSASeq::run( void )
{
break;
}
do // while event queue is not empty
{
snd_seq_event_t * ev;
snd_seq_event_input( m_seqHandle, &ev );
@@ -521,6 +525,8 @@ void midiALSASeq::run( void )
break;
}
} while( snd_seq_event_input_pending( m_seqHandle, 0 ) > 0 );
}
delete[] pollfd_set;