Sequencer Event API
[MIDI Sequencer]

Defines

#define SND_SEQ_REMOVE_INPUT   (1<<0)
#define SND_SEQ_REMOVE_OUTPUT   (1<<1)
#define SND_SEQ_REMOVE_DEST   (1<<2)
#define SND_SEQ_REMOVE_DEST_CHANNEL   (1<<3)
#define SND_SEQ_REMOVE_TIME_BEFORE   (1<<4)
#define SND_SEQ_REMOVE_TIME_AFTER   (1<<5)
#define SND_SEQ_REMOVE_TIME_TICK   (1<<6)
#define SND_SEQ_REMOVE_EVENT_TYPE   (1<<7)
#define SND_SEQ_REMOVE_IGNORE_OFF   (1<<8)
#define SND_SEQ_REMOVE_TAG_MATCH   (1<<9)
#define snd_seq_remove_events_alloca(ptr)   __snd_alloca(ptr, snd_seq_remove_events)

Typedefs

typedef struct
_snd_seq_remove_events 
snd_seq_remove_events_t

Functions

int snd_seq_free_event (snd_seq_event_t *ev)
ssize_t snd_seq_event_length (snd_seq_event_t *ev)
int snd_seq_event_output (snd_seq_t *handle, snd_seq_event_t *ev)
int snd_seq_event_output_buffer (snd_seq_t *handle, snd_seq_event_t *ev)
int snd_seq_event_output_direct (snd_seq_t *handle, snd_seq_event_t *ev)
int snd_seq_event_input (snd_seq_t *handle, snd_seq_event_t **ev)
int snd_seq_event_input_pending (snd_seq_t *seq, int fetch_sequencer)
int snd_seq_drain_output (snd_seq_t *handle)
int snd_seq_event_output_pending (snd_seq_t *seq)
int snd_seq_extract_output (snd_seq_t *handle, snd_seq_event_t **ev)
int snd_seq_drop_output (snd_seq_t *handle)
int snd_seq_drop_output_buffer (snd_seq_t *handle)
int snd_seq_drop_input (snd_seq_t *handle)
int snd_seq_drop_input_buffer (snd_seq_t *handle)
size_t snd_seq_remove_events_sizeof (void)
int snd_seq_remove_events_malloc (snd_seq_remove_events_t **ptr)
void snd_seq_remove_events_free (snd_seq_remove_events_t *ptr)
void snd_seq_remove_events_copy (snd_seq_remove_events_t *dst, const snd_seq_remove_events_t *src)
unsigned int snd_seq_remove_events_get_condition (const snd_seq_remove_events_t *info)
int snd_seq_remove_events_get_queue (const snd_seq_remove_events_t *info)
const snd_seq_timestamp_tsnd_seq_remove_events_get_time (const snd_seq_remove_events_t *info)
const snd_seq_addr_tsnd_seq_remove_events_get_dest (const snd_seq_remove_events_t *info)
int snd_seq_remove_events_get_channel (const snd_seq_remove_events_t *info)
int snd_seq_remove_events_get_event_type (const snd_seq_remove_events_t *info)
int snd_seq_remove_events_get_tag (const snd_seq_remove_events_t *info)
void snd_seq_remove_events_set_condition (snd_seq_remove_events_t *info, unsigned int flags)
void snd_seq_remove_events_set_queue (snd_seq_remove_events_t *info, int queue)
void snd_seq_remove_events_set_time (snd_seq_remove_events_t *info, const snd_seq_timestamp_t *time)
void snd_seq_remove_events_set_dest (snd_seq_remove_events_t *info, const snd_seq_addr_t *addr)
void snd_seq_remove_events_set_channel (snd_seq_remove_events_t *info, int channel)
void snd_seq_remove_events_set_event_type (snd_seq_remove_events_t *info, int type)
void snd_seq_remove_events_set_tag (snd_seq_remove_events_t *info, int tag)
int snd_seq_remove_events (snd_seq_t *handle, snd_seq_remove_events_t *info)

Detailed Description

Sequencer Event API


Define Documentation

#define SND_SEQ_REMOVE_DEST   (1<<2)

Restrict by destination q:client:port

#define SND_SEQ_REMOVE_DEST_CHANNEL   (1<<3)

Restrict by channel

#define SND_SEQ_REMOVE_EVENT_TYPE   (1<<7)

Restrict to event type

#define snd_seq_remove_events_alloca ( ptr   )     __snd_alloca(ptr, snd_seq_remove_events)

allocate a snd_seq_remove_events_t container on stack

#define SND_SEQ_REMOVE_IGNORE_OFF   (1<<8)

Do not flush off events

#define SND_SEQ_REMOVE_INPUT   (1<<0)

Remove conditional flags Flush input queues

#define SND_SEQ_REMOVE_OUTPUT   (1<<1)

Flush output queues

#define SND_SEQ_REMOVE_TAG_MATCH   (1<<9)

Restrict to events with given tag

#define SND_SEQ_REMOVE_TIME_AFTER   (1<<5)

Restrict to time or after

#define SND_SEQ_REMOVE_TIME_BEFORE   (1<<4)

Restrict to before time

#define SND_SEQ_REMOVE_TIME_TICK   (1<<6)

Time is in ticks


Typedef Documentation

typedef struct _snd_seq_remove_events snd_seq_remove_events_t

event removal conditionals

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated on Fri Jan 27 14:19:57 2012 for ALSA project - the C library reference by  doxygen 1.6.3