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 /include | |
parent | 6746dabeb17a4c43a87e49fcdbe9c3fc81397b1c (diff) |
Removed IPC code from sequencer code
Diffstat (limited to 'include')
-rw-r--r-- | include/seq.h | 9 | ||||
-rw-r--r-- | include/seq_event.h | 10 |
2 files changed, 1 insertions, 18 deletions
diff --git a/include/seq.h b/include/seq.h index 7ab7d7fe..3079276a 100644 --- a/include/seq.h +++ b/include/seq.h @@ -586,8 +586,7 @@ enum { SND_SEQ_EVFLG_RAW, SND_SEQ_EVFLG_FIXED, SND_SEQ_EVFLG_VARIABLE, - SND_SEQ_EVFLG_VARUSR, - SND_SEQ_EVFLG_IPC + SND_SEQ_EVFLG_VARUSR }; enum { @@ -655,9 +654,6 @@ extern const unsigned int snd_seq_event_types[]; /** event type check: user pointer events */ #define snd_seq_ev_is_varusr_type(ev) \ snd_seq_type_check(ev, SND_SEQ_EVFLG_VARUSR) -/** event type check: ipc events */ -#define snd_seq_ev_is_varipc_type(ev) \ - snd_seq_type_check(ev, SND_SEQ_EVFLG_IPC) /** event type check: reserved for kernel */ #define snd_seq_ev_is_reserved(ev) \ (! snd_seq_event_types[(ev)->type]) @@ -681,9 +677,6 @@ extern const unsigned int snd_seq_event_types[]; /** variable length on user-space */ #define snd_seq_ev_is_varusr(ev) \ (snd_seq_ev_length_type(ev) == SND_SEQ_EVENT_LENGTH_VARUSR) -/** variable length on IPC shm */ -#define snd_seq_ev_is_varipc(ev) \ - (snd_seq_ev_length_type(ev) == SND_SEQ_EVENT_LENGTH_VARIPC) /** time-stamp type */ #define snd_seq_ev_timestamp_type(ev) \ diff --git a/include/seq_event.h b/include/seq_event.h index 0138a7f3..501ced7d 100644 --- a/include/seq_event.h +++ b/include/seq_event.h @@ -277,7 +277,6 @@ typedef union snd_seq_timestamp { #define SND_SEQ_EVENT_LENGTH_FIXED (0<<2) /**< fixed event size */ #define SND_SEQ_EVENT_LENGTH_VARIABLE (1<<2) /**< variable event size */ #define SND_SEQ_EVENT_LENGTH_VARUSR (2<<2) /**< variable event size - user memory space */ -#define SND_SEQ_EVENT_LENGTH_VARIPC (3<<2) /**< variable event size - IPC */ #define SND_SEQ_EVENT_LENGTH_MASK (3<<2) /**< mask for event length bits */ #define SND_SEQ_PRIORITY_NORMAL (0<<4) /**< normal priority */ @@ -318,14 +317,6 @@ typedef struct snd_seq_ev_ext { void *ptr; /**< pointer to data (note: can be 64-bit) */ } snd_seq_ev_ext_t; -#if 0 /* FIXME: not implemented */ -/** external stored data - IPC shared memory */ -typedef struct snd_seq_ev_ipcshm { - unsigned int len; /**< length of data */ - key_t ipc; /**< IPC key */ -} snd_seq_ev_ipcshm_t; -#endif - /** Instrument cluster type */ typedef unsigned int snd_seq_instr_cluster_t; @@ -444,7 +435,6 @@ typedef struct snd_seq_event { snd_seq_ev_raw8_t raw8; /**< raw8 data */ snd_seq_ev_raw32_t raw32; /**< raw32 data */ snd_seq_ev_ext_t ext; /**< external data */ - /* snd_seq_ev_ipcshm_t ipcshm; */ /* IPC shared memory */ snd_seq_ev_queue_control_t queue; /**< queue control */ snd_seq_timestamp_t time; /**< timestamp */ snd_seq_addr_t addr; /**< address */ |