diff options
author | Jaroslav Kysela <perex@perex.cz> | 2002-04-17 08:50:56 +0000 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2002-04-17 08:50:56 +0000 |
commit | fb07cd28e52b168f8d0433aa8ca8e4917c87fcfa (patch) | |
tree | 16ae826f23edec45d7701aac26211619d26f39e5 /src/seq | |
parent | 6746dabeb17a4c43a87e49fcdbe9c3fc81397b1c (diff) |
Removed IPC code from sequencer code
Diffstat (limited to 'src/seq')
-rw-r--r-- | src/seq/seq_event.c | 6 | ||||
-rw-r--r-- | src/seq/seq_midi_event.c | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/seq/seq_event.c b/src/seq/seq_event.c index d0fbdad0..fd801488 100644 --- a/src/seq/seq_event.c +++ b/src/seq/seq_event.c @@ -47,12 +47,6 @@ const unsigned int snd_seq_event_types[256] = { = _SND_SEQ_TYPE(SND_SEQ_EVFLG_VARIABLE), [SND_SEQ_EVENT_USR_VAR0 ... SND_SEQ_EVENT_USR_VAR4] = _SND_SEQ_TYPE(SND_SEQ_EVFLG_VARIABLE) | _SND_SEQ_TYPE(SND_SEQ_EVFLG_USERS), -#if 0 // NYI - [SND_SEQ_EVENT_IPCSHM] - = _SND_SEQ_TYPE(SND_SEQ_EVFLG_IPC), - [SND_SEQ_EVENT_USR_VARIPC0 ... SND_SEQ_EVENT_USR_VARIPC4] - = _SND_SEQ_TYPE(SND_SEQ_EVFLG_IPC) | _SND_SEQ_TYPE(SND_SEQ_EVFLG_USERS), -#endif [SND_SEQ_EVENT_NONE] = FIXED_EV(SND_SEQ_EVFLG_NONE), }; diff --git a/src/seq/seq_midi_event.c b/src/seq/seq_midi_event.c index b9df50de..a4d2c1f7 100644 --- a/src/seq/seq_midi_event.c +++ b/src/seq/seq_midi_event.c @@ -429,7 +429,6 @@ long snd_midi_event_decode(snd_midi_event_t *dev, unsigned char *buf, long count return -ENOMEM; switch (ev->flags & SNDRV_SEQ_EVENT_LENGTH_MASK) { case SNDRV_SEQ_EVENT_LENGTH_FIXED: - case SNDRV_SEQ_EVENT_LENGTH_VARIPC: return -EINVAL; /* invalid event */ } memcpy(dev->buf, ev->data.ext.ptr, qlen); |