mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-16 08:56:42 -05:00
Removed IPC code from sequencer code
This commit is contained in:
parent
6746dabeb1
commit
fb07cd28e5
4 changed files with 1 additions and 25 deletions
|
|
@ -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) \
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue