<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Sequencer Event Type Checks</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.18 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindex" href="examples.html">Examples</a> </center> <hr><h1>Sequencer Event Type Checks<br> <small> [<a class="el" href="group___sequencer.html">MIDI Sequencer</a>]</small> </h1><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Defines</h2></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a1">_SND_SEQ_TYPE</a>(x) (1<<(x))</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a2">_SND_SEQ_TYPE_OPT</a>(x) ((x)<<24)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a3">snd_seq_type_check</a>(ev, x) (<a class="el" href="seq__event_8c.html#a0">snd_seq_event_types</a>[(ev)->type] & _SND_SEQ_TYPE(x))</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a4">snd_seq_ev_is_result_type</a>(ev) snd_seq_type_check(ev, SND_SEQ_EVFLG_RESULT)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a5">snd_seq_ev_is_note_type</a>(ev) snd_seq_type_check(ev, SND_SEQ_EVFLG_NOTE)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a6">snd_seq_ev_is_control_type</a>(ev) snd_seq_type_check(ev, SND_SEQ_EVFLG_CONTROL)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a7">snd_seq_ev_is_channel_type</a>(ev) (<a class="el" href="seq__event_8c.html#a0">snd_seq_event_types</a>[(ev)->type] & (_SND_SEQ_TYPE(SND_SEQ_EVFLG_NOTE) | _SND_SEQ_TYPE(SND_SEQ_EVFLG_CONTROL)))</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a8">snd_seq_ev_is_queue_type</a>(ev) snd_seq_type_check(ev, SND_SEQ_EVFLG_QUEUE)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a9">snd_seq_ev_is_message_type</a>(ev) snd_seq_type_check(ev, SND_SEQ_EVFLG_MESSAGE)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a10">snd_seq_ev_is_subscribe_type</a>(ev) snd_seq_type_check(ev, SND_SEQ_EVFLG_CONNECTION)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a11">snd_seq_ev_is_sample_type</a>(ev) snd_seq_type_check(ev, SND_SEQ_EVFLG_SAMPLE)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a12">snd_seq_ev_is_user_type</a>(ev) snd_seq_type_check(ev, SND_SEQ_EVFLG_USERS)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a13">snd_seq_ev_is_instr_type</a>(ev) snd_seq_type_check(ev, SND_SEQ_EVFLG_INSTR)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a14">snd_seq_ev_is_fixed_type</a>(ev) snd_seq_type_check(ev, SND_SEQ_EVFLG_FIXED)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a15">snd_seq_ev_is_variable_type</a>(ev) snd_seq_type_check(ev, SND_SEQ_EVFLG_VARIABLE)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a16">snd_seq_ev_is_varusr_type</a>(ev) snd_seq_type_check(ev, SND_SEQ_EVFLG_VARUSR)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a17">snd_seq_ev_is_reserved</a>(ev) (! <a class="el" href="seq__event_8c.html#a0">snd_seq_event_types</a>[(ev)->type])</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a18">snd_seq_ev_is_prior</a>(ev) (((ev)->flags & SND_SEQ_PRIORITY_MASK) == SND_SEQ_PRIORITY_HIGH)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a19">snd_seq_ev_length_type</a>(ev) ((ev)->flags & SND_SEQ_EVENT_LENGTH_MASK)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a20">snd_seq_ev_is_fixed</a>(ev) (snd_seq_ev_length_type(ev) == SND_SEQ_EVENT_LENGTH_FIXED)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a21">snd_seq_ev_is_variable</a>(ev) (snd_seq_ev_length_type(ev) == SND_SEQ_EVENT_LENGTH_VARIABLE)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a22">snd_seq_ev_is_varusr</a>(ev) (snd_seq_ev_length_type(ev) == SND_SEQ_EVENT_LENGTH_VARUSR)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a23">snd_seq_ev_timestamp_type</a>(ev) ((ev)->flags & SND_SEQ_TIME_STAMP_MASK)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a24">snd_seq_ev_is_tick</a>(ev) (snd_seq_ev_timestamp_type(ev) == SND_SEQ_TIME_STAMP_TICK)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a25">snd_seq_ev_is_real</a>(ev) (snd_seq_ev_timestamp_type(ev) == SND_SEQ_TIME_STAMP_REAL)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a26">snd_seq_ev_timemode_type</a>(ev) ((ev)->flags & SND_SEQ_TIME_MODE_MASK)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a27">snd_seq_ev_is_abstime</a>(ev) (snd_seq_ev_timemode_type(ev) == SND_SEQ_TIME_MODE_ABS)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a28">snd_seq_ev_is_reltime</a>(ev) (snd_seq_ev_timemode_type(ev) == SND_SEQ_TIME_MODE_REL)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a29">snd_seq_ev_is_direct</a>(ev) ((ev)->queue == SND_SEQ_QUEUE_DIRECT)</td></tr> <tr><td colspan=2><br><h2>Variables</h2></td></tr> <tr><td nowrap align=right valign=top>const unsigned int </td><td valign=bottom><a class="el" href="group___seq_ev_type.html#a0">snd_seq_event_types</a> []</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Sequencer Event Type Checks <hr><h2>Define Documentation</h2> <a name="a1" doxytag="seq.h::_SND_SEQ_TYPE"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define _SND_SEQ_TYPE</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">x </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> (1<<(x)) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> master type - 24bit </td> </tr> </table> <a name="a2" doxytag="seq.h::_SND_SEQ_TYPE_OPT"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define _SND_SEQ_TYPE_OPT</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">x </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> ((x)<<24) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> optional type - 8bit </td> </tr> </table> <a name="a27" doxytag="seq.h::snd_seq_ev_is_abstime"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_abstime</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> (snd_seq_ev_timemode_type(ev) == SND_SEQ_TIME_MODE_ABS) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> scheduled in absolute time </td> </tr> </table> <a name="a7" doxytag="seq.h::snd_seq_ev_is_channel_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_channel_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> (<a class="el" href="group___seq_ev_type.html#a0">snd_seq_event_types</a>[(ev)->type] & (_SND_SEQ_TYPE(SND_SEQ_EVFLG_NOTE) | _SND_SEQ_TYPE(SND_SEQ_EVFLG_CONTROL))) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event type check: channel specific events </td> </tr> </table> <a name="a6" doxytag="seq.h::snd_seq_ev_is_control_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_control_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> snd_seq_type_check(ev, SND_SEQ_EVFLG_CONTROL) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event type check: control events </td> </tr> </table> <a name="a29" doxytag="seq.h::snd_seq_ev_is_direct"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_direct</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> ((ev)->queue == SND_SEQ_QUEUE_DIRECT) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> direct dispatched events </td> </tr> </table> <a name="a20" doxytag="seq.h::snd_seq_ev_is_fixed"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_fixed</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> (snd_seq_ev_length_type(ev) == SND_SEQ_EVENT_LENGTH_FIXED) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> fixed length events </td> </tr> </table> <a name="a14" doxytag="seq.h::snd_seq_ev_is_fixed_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_fixed_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> snd_seq_type_check(ev, SND_SEQ_EVFLG_FIXED) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event type check: fixed length events </td> </tr> </table> <a name="a13" doxytag="seq.h::snd_seq_ev_is_instr_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_instr_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> snd_seq_type_check(ev, SND_SEQ_EVFLG_INSTR) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event type check: instrument layer events </td> </tr> </table> <a name="a9" doxytag="seq.h::snd_seq_ev_is_message_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_message_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> snd_seq_type_check(ev, SND_SEQ_EVFLG_MESSAGE) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event type check: system status messages </td> </tr> </table> <a name="a5" doxytag="seq.h::snd_seq_ev_is_note_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_note_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> snd_seq_type_check(ev, SND_SEQ_EVFLG_NOTE) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event type check: note events </td> </tr> </table> <a name="a18" doxytag="seq.h::snd_seq_ev_is_prior"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_prior</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> (((ev)->flags & SND_SEQ_PRIORITY_MASK) == SND_SEQ_PRIORITY_HIGH) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> prior events </td> </tr> </table> <a name="a8" doxytag="seq.h::snd_seq_ev_is_queue_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_queue_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> snd_seq_type_check(ev, SND_SEQ_EVFLG_QUEUE) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event type check: queue control events </td> </tr> </table> <a name="a25" doxytag="seq.h::snd_seq_ev_is_real"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_real</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> (snd_seq_ev_timestamp_type(ev) == SND_SEQ_TIME_STAMP_REAL) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event is in real-time </td> </tr> </table> <a name="a28" doxytag="seq.h::snd_seq_ev_is_reltime"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_reltime</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> (snd_seq_ev_timemode_type(ev) == SND_SEQ_TIME_MODE_REL) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> scheduled in relative time </td> </tr> </table> <a name="a17" doxytag="seq.h::snd_seq_ev_is_reserved"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_reserved</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> (! <a class="el" href="group___seq_ev_type.html#a0">snd_seq_event_types</a>[(ev)->type]) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event type check: reserved for kernel </td> </tr> </table> <a name="a4" doxytag="seq.h::snd_seq_ev_is_result_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_result_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> snd_seq_type_check(ev, SND_SEQ_EVFLG_RESULT) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event type check: result events </td> </tr> </table> <a name="a11" doxytag="seq.h::snd_seq_ev_is_sample_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_sample_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> snd_seq_type_check(ev, SND_SEQ_EVFLG_SAMPLE) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event type check: sample messages </td> </tr> </table> <a name="a10" doxytag="seq.h::snd_seq_ev_is_subscribe_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_subscribe_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> snd_seq_type_check(ev, SND_SEQ_EVFLG_CONNECTION) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event type check: system status messages </td> </tr> </table> <a name="a24" doxytag="seq.h::snd_seq_ev_is_tick"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_tick</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> (snd_seq_ev_timestamp_type(ev) == SND_SEQ_TIME_STAMP_TICK) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event is in tick time </td> </tr> </table> <a name="a12" doxytag="seq.h::snd_seq_ev_is_user_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_user_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> snd_seq_type_check(ev, SND_SEQ_EVFLG_USERS) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event type check: user-defined messages </td> </tr> </table> <a name="a21" doxytag="seq.h::snd_seq_ev_is_variable"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_variable</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> (snd_seq_ev_length_type(ev) == SND_SEQ_EVENT_LENGTH_VARIABLE) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> variable length events </td> </tr> </table> <a name="a15" doxytag="seq.h::snd_seq_ev_is_variable_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_variable_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> snd_seq_type_check(ev, SND_SEQ_EVFLG_VARIABLE) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event type check: variable length events </td> </tr> </table> <a name="a22" doxytag="seq.h::snd_seq_ev_is_varusr"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_varusr</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> (snd_seq_ev_length_type(ev) == SND_SEQ_EVENT_LENGTH_VARUSR) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> variable length on user-space </td> </tr> </table> <a name="a16" doxytag="seq.h::snd_seq_ev_is_varusr_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_is_varusr_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> snd_seq_type_check(ev, SND_SEQ_EVFLG_VARUSR) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> event type check: user pointer events </td> </tr> </table> <a name="a19" doxytag="seq.h::snd_seq_ev_length_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_length_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> ((ev)->flags & SND_SEQ_EVENT_LENGTH_MASK) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> get the data length type </td> </tr> </table> <a name="a26" doxytag="seq.h::snd_seq_ev_timemode_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_timemode_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> ((ev)->flags & SND_SEQ_TIME_MODE_MASK) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> time-mode type </td> </tr> </table> <a name="a23" doxytag="seq.h::snd_seq_ev_timestamp_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_ev_timestamp_type</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> ((ev)->flags & SND_SEQ_TIME_STAMP_MASK) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> time-stamp type </td> </tr> </table> <a name="a3" doxytag="seq.h::snd_seq_type_check"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_type_check</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ev, <tr> <td></td> <td></td> <td class="md" nowrap>x </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> (<a class="el" href="group___seq_ev_type.html#a0">snd_seq_event_types</a>[(ev)->type] & _SND_SEQ_TYPE(x)) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> check the event type </td> </tr> </table> <hr><h2>Variable Documentation</h2> <a name="a0" doxytag="seq.h::snd_seq_event_types"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const unsigned int snd_seq_event_types[] </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Event types conversion array </td> </tr> </table> <hr><address style="align: right;"><small>Generated on Wed Apr 2 16:06:39 2003 for ALSA project - the C library reference by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address> </body> </html>