Skip to content

Commit 6c3171e

Browse files
committed
ALSA: seq: oss: Fix running status after receiving sysex
This is a similar bug like the previous case for virmidi: the invalid running status is kept after receiving a sysex message. Again the fix is to clear the running status after handling the sysex. Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 4384f16 commit 6c3171e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/core/seq/oss/seq_oss_midi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,7 @@ send_midi_event(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, struct seq
602602
len = snd_seq_oss_timer_start(dp->timer);
603603
if (ev->type == SNDRV_SEQ_EVENT_SYSEX) {
604604
snd_seq_oss_readq_sysex(dp->readq, mdev->seq_device, ev);
605+
snd_midi_event_reset_decode(mdev->coder);
605606
} else {
606607
len = snd_midi_event_decode(mdev->coder, msg, sizeof(msg), ev);
607608
if (len > 0)

0 commit comments

Comments
 (0)