[ALSA] seq_midi_event: prevent running status after system messages
authorClemens Ladisch <clemens@ladisch.de>
Fri, 10 Aug 2007 07:39:14 +0000 (09:39 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:58:36 +0000 (15:58 +0200)
commit0b664f7206fac9676559e0012d8accc2dc0fc9fd
tree4a7e5945aa12976dc6719d29a4ffe078ea9631c9
parent394d051686d846c6cd86fe086166a4ea5507ccb5
[ALSA] seq_midi_event: prevent running status after system messages

Reset the event type after encoding a system message to prevent any
following data bytes from being interpreted as data for a running status
system message, which is not allowed in MIDI.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/core/seq/seq_midi_event.c