summaryrefslogtreecommitdiff
path: root/src/seq
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2002-05-11 06:28:55 +0000
committerJaroslav Kysela <perex@perex.cz>2002-05-11 06:28:55 +0000
commit8fa8c25f0be88f8aee4bdcf5dcb7e00083336ee0 (patch)
tree4f82b2e9406dd007627c8f668c7e7c2abcf568f5 /src/seq
parenteca779d1d65f1eded228b1bcaa1bccfe68e87645 (diff)
Fixed sysex event encoding
Diffstat (limited to 'src/seq')
-rw-r--r--src/seq/seq_midi_event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/seq/seq_midi_event.c b/src/seq/seq_midi_event.c
index 3b54601e..c4e5b984 100644
--- a/src/seq/seq_midi_event.c
+++ b/src/seq/seq_midi_event.c
@@ -337,6 +337,7 @@ int snd_midi_event_encode_byte(snd_midi_event_t *dev, int c, snd_seq_event_t *ev
dev->read >= dev->bufsize) {
ev->flags &= ~SNDRV_SEQ_EVENT_LENGTH_MASK;
ev->flags |= SNDRV_SEQ_EVENT_LENGTH_VARIABLE;
+ ev->type = SNDRV_SEQ_EVENT_SYSEX;
ev->data.ext.len = dev->read;
ev->data.ext.ptr = dev->buf;
if (c != MIDI_CMD_COMMON_SYSEX_END)