Sequencer Event Type Checks

Overview

Sequencer Event Type Checks Moreā€¦

// enums

enum {
    @0::SND_SEQ_EVFLG_RESULT,
    @0::SND_SEQ_EVFLG_NOTE,
    @0::SND_SEQ_EVFLG_CONTROL,
    @0::SND_SEQ_EVFLG_QUEUE,
    @0::SND_SEQ_EVFLG_SYSTEM,
    @0::SND_SEQ_EVFLG_MESSAGE,
    @0::SND_SEQ_EVFLG_CONNECTION,
    @0::SND_SEQ_EVFLG_SAMPLE,
    @0::SND_SEQ_EVFLG_USERS,
    @0::SND_SEQ_EVFLG_INSTR,
    @0::SND_SEQ_EVFLG_QUOTE,
    @0::SND_SEQ_EVFLG_NONE,
    @0::SND_SEQ_EVFLG_RAW,
    @0::SND_SEQ_EVFLG_FIXED,
    @0::SND_SEQ_EVFLG_VARIABLE,
    @0::SND_SEQ_EVFLG_VARUSR,
};

enum {
    @1::SND_SEQ_EVFLG_NOTE_ONEARG,
    @1::SND_SEQ_EVFLG_NOTE_TWOARG,
};

enum {
    @2::SND_SEQ_EVFLG_QUEUE_NOARG,
    @2::SND_SEQ_EVFLG_QUEUE_TICK,
    @2::SND_SEQ_EVFLG_QUEUE_TIME,
    @2::SND_SEQ_EVFLG_QUEUE_VALUE,
};

// global variables

const unsigned int snd_seq_event_types[];

// macros

#define _SND_SEQ_TYPE(x)
#define _SND_SEQ_TYPE_OPT(x)
#define snd_seq_ev_is_abstime(ev)
#define snd_seq_ev_is_channel_type(ev)
#define snd_seq_ev_is_control_type(ev)
#define snd_seq_ev_is_direct(ev)
#define snd_seq_ev_is_fixed(ev)
#define snd_seq_ev_is_fixed_type(ev)
#define snd_seq_ev_is_instr_type(ev)
#define snd_seq_ev_is_message_type(ev)
#define snd_seq_ev_is_note_type(ev)
#define snd_seq_ev_is_prior(ev)
#define snd_seq_ev_is_queue_type(ev)
#define snd_seq_ev_is_real(ev)
#define snd_seq_ev_is_reltime(ev)
#define snd_seq_ev_is_reserved(ev)
#define snd_seq_ev_is_result_type(ev)
#define snd_seq_ev_is_sample_type(ev)
#define snd_seq_ev_is_subscribe_type(ev)
#define snd_seq_ev_is_tick(ev)
#define snd_seq_ev_is_user_type(ev)
#define snd_seq_ev_is_variable(ev)
#define snd_seq_ev_is_variable_type(ev)
#define snd_seq_ev_is_varusr(ev)
#define snd_seq_ev_is_varusr_type(ev)
#define snd_seq_ev_length_type(ev)
#define snd_seq_ev_timemode_type(ev)
#define snd_seq_ev_timestamp_type(ev)

#define snd_seq_type_check( \
    ev, \
    x \
)

Detailed Documentation

Sequencer Event Type Checks

Global Variables

const unsigned int snd_seq_event_types[]

Exported event type table

This table is referred by snd_seq_ev_is_xxx.

Event types conversion array

Macros

#define _SND_SEQ_TYPE(x)

master type - 24bit

#define _SND_SEQ_TYPE_OPT(x)

optional type - 8bit

#define snd_seq_ev_is_abstime(ev)

scheduled in absolute time

#define snd_seq_ev_is_channel_type(ev)

event type check: channel specific events

#define snd_seq_ev_is_control_type(ev)

event type check: control events

#define snd_seq_ev_is_direct(ev)

direct dispatched events

#define snd_seq_ev_is_fixed(ev)

fixed length events

#define snd_seq_ev_is_fixed_type(ev)

event type check: fixed length events

#define snd_seq_ev_is_instr_type(ev)

event type check: instrument layer events

#define snd_seq_ev_is_message_type(ev)

event type check: system status messages

#define snd_seq_ev_is_note_type(ev)

event type check: note events

#define snd_seq_ev_is_prior(ev)

macros to check event flagsprior events

#define snd_seq_ev_is_queue_type(ev)

event type check: queue control events

#define snd_seq_ev_is_real(ev)

event is in real-time

#define snd_seq_ev_is_reltime(ev)

scheduled in relative time

#define snd_seq_ev_is_reserved(ev)

event type check: reserved for kernel

#define snd_seq_ev_is_result_type(ev)

event type check: result events

#define snd_seq_ev_is_sample_type(ev)

event type check: sample messages

#define snd_seq_ev_is_subscribe_type(ev)

event type check: system status messages

#define snd_seq_ev_is_tick(ev)

event is in tick time

#define snd_seq_ev_is_user_type(ev)

event type check: user-defined messages

#define snd_seq_ev_is_variable(ev)

variable length events

#define snd_seq_ev_is_variable_type(ev)

event type check: variable length events

#define snd_seq_ev_is_varusr(ev)

variable length on user-space

#define snd_seq_ev_is_varusr_type(ev)

event type check: user pointer events

#define snd_seq_ev_length_type(ev)

get the data length type

#define snd_seq_ev_timemode_type(ev)

time-mode type

#define snd_seq_ev_timestamp_type(ev)

time-stamp type

#define snd_seq_type_check( \
    ev, \
    x \
)

check the event type