<!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>seq_event.h Source File</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>seq_event.h</h1><div class="fragment"><pre>00001 00028 <span class="preprocessor">#ifndef __ALSA_SEQ_EVENT_H</span> 00029 <span class="preprocessor"></span><span class="preprocessor">#define __ALSA_SEQ_EVENT_H</span> 00030 <span class="preprocessor"></span> <a name="l00041"></a><a class="code" href="group___seq_events.html#a0">00041</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="group___seq_events.html#a0">snd_seq_event_type_t</a>; 00042 <a name="l00044"></a><a class="code" href="group___seq_events.html#a39">00044</a> <span class="keyword">enum</span> <a class="code" href="group___seq_events.html#a39">snd_seq_event_type</a> { 00046 <a class="code" href="group___seq_events.html#a39a39">SND_SEQ_EVENT_SYSTEM</a> = 0, 00048 <a class="code" href="group___seq_events.html#a39a40">SND_SEQ_EVENT_RESULT</a>, 00049 00051 <a class="code" href="group___seq_events.html#a39a41">SND_SEQ_EVENT_NOTE</a> = 5, 00053 <a class="code" href="group___seq_events.html#a39a42">SND_SEQ_EVENT_NOTEON</a>, 00055 <a class="code" href="group___seq_events.html#a39a43">SND_SEQ_EVENT_NOTEOFF</a>, 00057 <a class="code" href="group___seq_events.html#a39a44">SND_SEQ_EVENT_KEYPRESS</a>, 00058 00060 <a class="code" href="group___seq_events.html#a39a45">SND_SEQ_EVENT_CONTROLLER</a> = 10, 00062 <a class="code" href="group___seq_events.html#a39a46">SND_SEQ_EVENT_PGMCHANGE</a>, 00064 <a class="code" href="group___seq_events.html#a39a47">SND_SEQ_EVENT_CHANPRESS</a>, 00066 <a class="code" href="group___seq_events.html#a39a48">SND_SEQ_EVENT_PITCHBEND</a>, 00068 <a class="code" href="group___seq_events.html#a39a49">SND_SEQ_EVENT_CONTROL14</a>, 00070 <a class="code" href="group___seq_events.html#a39a50">SND_SEQ_EVENT_NONREGPARAM</a>, 00072 <a class="code" href="group___seq_events.html#a39a51">SND_SEQ_EVENT_REGPARAM</a>, 00073 00075 <a class="code" href="group___seq_events.html#a39a52">SND_SEQ_EVENT_SONGPOS</a> = 20, 00077 <a class="code" href="group___seq_events.html#a39a53">SND_SEQ_EVENT_SONGSEL</a>, 00079 <a class="code" href="group___seq_events.html#a39a54">SND_SEQ_EVENT_QFRAME</a>, 00081 <a class="code" href="group___seq_events.html#a39a55">SND_SEQ_EVENT_TIMESIGN</a>, 00083 <a class="code" href="group___seq_events.html#a39a56">SND_SEQ_EVENT_KEYSIGN</a>, 00084 00086 <a class="code" href="group___seq_events.html#a39a57">SND_SEQ_EVENT_START</a> = 30, 00088 <a class="code" href="group___seq_events.html#a39a58">SND_SEQ_EVENT_CONTINUE</a>, 00090 <a class="code" href="group___seq_events.html#a39a59">SND_SEQ_EVENT_STOP</a>, 00092 <a class="code" href="group___seq_events.html#a39a60">SND_SEQ_EVENT_SETPOS_TICK</a>, 00094 <a class="code" href="group___seq_events.html#a39a61">SND_SEQ_EVENT_SETPOS_TIME</a>, 00096 <a class="code" href="group___seq_events.html#a39a62">SND_SEQ_EVENT_TEMPO</a>, 00098 <a class="code" href="group___seq_events.html#a39a63">SND_SEQ_EVENT_CLOCK</a>, 00100 <a class="code" href="group___seq_events.html#a39a64">SND_SEQ_EVENT_TICK</a>, 00102 <a class="code" href="group___seq_events.html#a39a65">SND_SEQ_EVENT_QUEUE_SKEW</a>, 00104 <a class="code" href="group___seq_events.html#a39a66">SND_SEQ_EVENT_SYNC_POS</a>, 00105 00107 <a class="code" href="group___seq_events.html#a39a67">SND_SEQ_EVENT_TUNE_REQUEST</a> = 40, 00109 <a class="code" href="group___seq_events.html#a39a68">SND_SEQ_EVENT_RESET</a>, 00111 <a class="code" href="group___seq_events.html#a39a69">SND_SEQ_EVENT_SENSING</a>, 00112 00114 <a class="code" href="group___seq_events.html#a39a70">SND_SEQ_EVENT_ECHO</a> = 50, 00116 <a class="code" href="group___seq_events.html#a39a71">SND_SEQ_EVENT_OSS</a>, 00117 00119 <a class="code" href="group___seq_events.html#a39a72">SND_SEQ_EVENT_CLIENT_START</a> = 60, 00121 <a class="code" href="group___seq_events.html#a39a73">SND_SEQ_EVENT_CLIENT_EXIT</a>, 00123 <a class="code" href="group___seq_events.html#a39a74">SND_SEQ_EVENT_CLIENT_CHANGE</a>, 00125 <a class="code" href="group___seq_events.html#a39a75">SND_SEQ_EVENT_PORT_START</a>, 00127 <a class="code" href="group___seq_events.html#a39a76">SND_SEQ_EVENT_PORT_EXIT</a>, 00129 <a class="code" href="group___seq_events.html#a39a77">SND_SEQ_EVENT_PORT_CHANGE</a>, 00130 00132 <a class="code" href="group___seq_events.html#a39a78">SND_SEQ_EVENT_PORT_SUBSCRIBED</a>, 00134 <a class="code" href="group___seq_events.html#a39a79">SND_SEQ_EVENT_PORT_UNSUBSCRIBED</a>, 00135 00137 <a class="code" href="group___seq_events.html#a39a80">SND_SEQ_EVENT_SAMPLE</a> = 70, 00139 <a class="code" href="group___seq_events.html#a39a81">SND_SEQ_EVENT_SAMPLE_CLUSTER</a>, 00141 <a class="code" href="group___seq_events.html#a39a82">SND_SEQ_EVENT_SAMPLE_START</a>, 00143 <a class="code" href="group___seq_events.html#a39a83">SND_SEQ_EVENT_SAMPLE_STOP</a>, 00145 <a class="code" href="group___seq_events.html#a39a84">SND_SEQ_EVENT_SAMPLE_FREQ</a>, 00147 <a class="code" href="group___seq_events.html#a39a85">SND_SEQ_EVENT_SAMPLE_VOLUME</a>, 00149 <a class="code" href="group___seq_events.html#a39a86">SND_SEQ_EVENT_SAMPLE_LOOP</a>, 00151 <a class="code" href="group___seq_events.html#a39a87">SND_SEQ_EVENT_SAMPLE_POSITION</a>, 00153 <a class="code" href="group___seq_events.html#a39a88">SND_SEQ_EVENT_SAMPLE_PRIVATE1</a>, 00154 00156 <a class="code" href="group___seq_events.html#a39a89">SND_SEQ_EVENT_USR0</a> = 90, 00158 <a class="code" href="group___seq_events.html#a39a90">SND_SEQ_EVENT_USR1</a>, 00160 <a class="code" href="group___seq_events.html#a39a91">SND_SEQ_EVENT_USR2</a>, 00162 <a class="code" href="group___seq_events.html#a39a92">SND_SEQ_EVENT_USR3</a>, 00164 <a class="code" href="group___seq_events.html#a39a93">SND_SEQ_EVENT_USR4</a>, 00166 <a class="code" href="group___seq_events.html#a39a94">SND_SEQ_EVENT_USR5</a>, 00168 <a class="code" href="group___seq_events.html#a39a95">SND_SEQ_EVENT_USR6</a>, 00170 <a class="code" href="group___seq_events.html#a39a96">SND_SEQ_EVENT_USR7</a>, 00172 <a class="code" href="group___seq_events.html#a39a97">SND_SEQ_EVENT_USR8</a>, 00174 <a class="code" href="group___seq_events.html#a39a98">SND_SEQ_EVENT_USR9</a>, 00175 00177 <a class="code" href="group___seq_events.html#a39a99">SND_SEQ_EVENT_INSTR_BEGIN</a> = 100, 00179 <a class="code" href="group___seq_events.html#a39a100">SND_SEQ_EVENT_INSTR_END</a>, 00181 <a class="code" href="group___seq_events.html#a39a101">SND_SEQ_EVENT_INSTR_INFO</a>, 00183 <a class="code" href="group___seq_events.html#a39a102">SND_SEQ_EVENT_INSTR_INFO_RESULT</a>, 00185 <a class="code" href="group___seq_events.html#a39a103">SND_SEQ_EVENT_INSTR_FINFO</a>, 00187 <a class="code" href="group___seq_events.html#a39a104">SND_SEQ_EVENT_INSTR_FINFO_RESULT</a>, 00189 <a class="code" href="group___seq_events.html#a39a105">SND_SEQ_EVENT_INSTR_RESET</a>, 00191 <a class="code" href="group___seq_events.html#a39a106">SND_SEQ_EVENT_INSTR_STATUS</a>, 00193 <a class="code" href="group___seq_events.html#a39a107">SND_SEQ_EVENT_INSTR_STATUS_RESULT</a>, 00195 <a class="code" href="group___seq_events.html#a39a108">SND_SEQ_EVENT_INSTR_PUT</a>, 00197 <a class="code" href="group___seq_events.html#a39a109">SND_SEQ_EVENT_INSTR_GET</a>, 00199 <a class="code" href="group___seq_events.html#a39a110">SND_SEQ_EVENT_INSTR_GET_RESULT</a>, 00201 <a class="code" href="group___seq_events.html#a39a111">SND_SEQ_EVENT_INSTR_FREE</a>, 00203 <a class="code" href="group___seq_events.html#a39a112">SND_SEQ_EVENT_INSTR_LIST</a>, 00205 <a class="code" href="group___seq_events.html#a39a113">SND_SEQ_EVENT_INSTR_LIST_RESULT</a>, 00207 <a class="code" href="group___seq_events.html#a39a114">SND_SEQ_EVENT_INSTR_CLUSTER</a>, 00209 <a class="code" href="group___seq_events.html#a39a115">SND_SEQ_EVENT_INSTR_CLUSTER_GET</a>, 00211 <a class="code" href="group___seq_events.html#a39a116">SND_SEQ_EVENT_INSTR_CLUSTER_RESULT</a>, 00213 <a class="code" href="group___seq_events.html#a39a117">SND_SEQ_EVENT_INSTR_CHANGE</a>, 00214 00216 <a class="code" href="group___seq_events.html#a39a118">SND_SEQ_EVENT_SYSEX</a> = 130, 00218 <a class="code" href="group___seq_events.html#a39a119">SND_SEQ_EVENT_BOUNCE</a>, 00220 <a class="code" href="group___seq_events.html#a39a120">SND_SEQ_EVENT_USR_VAR0</a> = 135, 00222 <a class="code" href="group___seq_events.html#a39a121">SND_SEQ_EVENT_USR_VAR1</a>, 00224 <a class="code" href="group___seq_events.html#a39a122">SND_SEQ_EVENT_USR_VAR2</a>, 00226 <a class="code" href="group___seq_events.html#a39a123">SND_SEQ_EVENT_USR_VAR3</a>, 00228 <a class="code" href="group___seq_events.html#a39a124">SND_SEQ_EVENT_USR_VAR4</a>, 00229 00231 <a class="code" href="group___seq_events.html#a39a125">SND_SEQ_EVENT_NONE</a> = 255 00232 }; 00233 00234 <a name="l00236"></a><a class="code" href="structsnd__seq__addr.html">00236</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__addr.html">snd_seq_addr</a> { <a name="l00237"></a><a class="code" href="structsnd__seq__addr.html#m0">00237</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structsnd__seq__addr.html#m0">client</a>; <a name="l00238"></a><a class="code" href="structsnd__seq__addr.html#m1">00238</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structsnd__seq__addr.html#m1">port</a>; 00239 } <a class="code" href="structsnd__seq__addr.html">snd_seq_addr_t</a>; 00240 <a name="l00242"></a><a class="code" href="structsnd__seq__connect.html">00242</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__connect.html">snd_seq_connect</a> { <a name="l00243"></a><a class="code" href="structsnd__seq__connect.html#m0">00243</a> <a class="code" href="structsnd__seq__addr.html">snd_seq_addr_t</a> <a class="code" href="structsnd__seq__connect.html#m0">sender</a>; <a name="l00244"></a><a class="code" href="structsnd__seq__connect.html#m1">00244</a> <a class="code" href="structsnd__seq__addr.html">snd_seq_addr_t</a> <a class="code" href="structsnd__seq__connect.html#m1">dest</a>; 00245 } <a class="code" href="structsnd__seq__connect.html">snd_seq_connect_t</a>; 00246 00247 <a name="l00249"></a><a class="code" href="structsnd__seq__real__time.html">00249</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__real__time.html">snd_seq_real_time</a> { <a name="l00250"></a><a class="code" href="structsnd__seq__real__time.html#m0">00250</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__real__time.html#m0">tv_sec</a>; <a name="l00251"></a><a class="code" href="structsnd__seq__real__time.html#m1">00251</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__real__time.html#m1">tv_nsec</a>; 00252 } <a class="code" href="structsnd__seq__real__time.html">snd_seq_real_time_t</a>; 00253 <a name="l00255"></a><a class="code" href="group___seq_events.html#a4">00255</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group___seq_events.html#a4">snd_seq_tick_time_t</a>; 00256 <a name="l00258"></a><a class="code" href="unionsnd__seq__timestamp.html">00258</a> <span class="keyword">typedef</span> <span class="keyword">union </span><a class="code" href="unionsnd__seq__timestamp.html">snd_seq_timestamp</a> { <a name="l00259"></a><a class="code" href="unionsnd__seq__timestamp.html#m0">00259</a> <a class="code" href="group___seq_events.html#a4">snd_seq_tick_time_t</a> <a class="code" href="unionsnd__seq__timestamp.html#m0">tick</a>; <a name="l00260"></a><a class="code" href="unionsnd__seq__timestamp.html#m1">00260</a> <span class="keyword">struct </span><a class="code" href="structsnd__seq__real__time.html">snd_seq_real_time</a> time; 00261 } <a class="code" href="unionsnd__seq__timestamp.html">snd_seq_timestamp_t</a>; 00262 00263 <a name="l00269"></a><a class="code" href="group___seq_events.html#a26">00269</a> <span class="preprocessor">#define SND_SEQ_TIME_STAMP_TICK (0<<0) </span> <a name="l00270"></a><a class="code" href="group___seq_events.html#a27">00270</a> <span class="preprocessor">#define SND_SEQ_TIME_STAMP_REAL (1<<0) </span> <a name="l00271"></a><a class="code" href="group___seq_events.html#a28">00271</a> <span class="preprocessor">#define SND_SEQ_TIME_STAMP_MASK (1<<0) </span> <a name="l00273"></a><a class="code" href="group___seq_events.html#a29">00273</a> <span class="preprocessor">#define SND_SEQ_TIME_MODE_ABS (0<<1) </span> <a name="l00274"></a><a class="code" href="group___seq_events.html#a30">00274</a> <span class="preprocessor">#define SND_SEQ_TIME_MODE_REL (1<<1) </span> <a name="l00275"></a><a class="code" href="group___seq_events.html#a31">00275</a> <span class="preprocessor">#define SND_SEQ_TIME_MODE_MASK (1<<1) </span> <a name="l00277"></a><a class="code" href="group___seq_events.html#a32">00277</a> <span class="preprocessor">#define SND_SEQ_EVENT_LENGTH_FIXED (0<<2) </span> <a name="l00278"></a><a class="code" href="group___seq_events.html#a33">00278</a> <span class="preprocessor">#define SND_SEQ_EVENT_LENGTH_VARIABLE (1<<2) </span> <a name="l00279"></a><a class="code" href="group___seq_events.html#a34">00279</a> <span class="preprocessor">#define SND_SEQ_EVENT_LENGTH_VARUSR (2<<2) </span> <a name="l00280"></a><a class="code" href="group___seq_events.html#a35">00280</a> <span class="preprocessor">#define SND_SEQ_EVENT_LENGTH_MASK (3<<2) </span> <a name="l00282"></a><a class="code" href="group___seq_events.html#a36">00282</a> <span class="preprocessor">#define SND_SEQ_PRIORITY_NORMAL (0<<4) </span> <a name="l00283"></a><a class="code" href="group___seq_events.html#a37">00283</a> <span class="preprocessor">#define SND_SEQ_PRIORITY_HIGH (1<<4) </span> <a name="l00284"></a><a class="code" href="group___seq_events.html#a38">00284</a> <span class="preprocessor">#define SND_SEQ_PRIORITY_MASK (1<<4) </span> <a name="l00288"></a><a class="code" href="structsnd__seq__ev__note.html">00288</a> <span class="preprocessor">typedef struct snd_seq_ev_note {</span> <a name="l00289"></a><a class="code" href="structsnd__seq__ev__note.html#m0">00289</a> <span class="preprocessor"></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> channel; <a name="l00290"></a><a class="code" href="structsnd__seq__ev__note.html#m1">00290</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> note; <a name="l00291"></a><a class="code" href="structsnd__seq__ev__note.html#m2">00291</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> velocity; <a name="l00292"></a><a class="code" href="structsnd__seq__ev__note.html#m3">00292</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> off_velocity; <a name="l00293"></a><a class="code" href="structsnd__seq__ev__note.html#m4">00293</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> duration; 00294 } <a class="code" href="structsnd__seq__ev__note.html">snd_seq_ev_note_t</a>; 00295 <a name="l00297"></a><a class="code" href="structsnd__seq__ev__ctrl.html">00297</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__ev__ctrl.html">snd_seq_ev_ctrl</a> { <a name="l00298"></a><a class="code" href="structsnd__seq__ev__ctrl.html#m0">00298</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structsnd__seq__ev__ctrl.html#m0">channel</a>; <a name="l00299"></a><a class="code" href="structsnd__seq__ev__ctrl.html#m1">00299</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structsnd__seq__ev__ctrl.html#m1">unused</a>[3]; <a name="l00300"></a><a class="code" href="structsnd__seq__ev__ctrl.html#m2">00300</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__ev__ctrl.html#m2">param</a>; <a name="l00301"></a><a class="code" href="structsnd__seq__ev__ctrl.html#m3">00301</a> <span class="keywordtype">signed</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__ev__ctrl.html#m3">value</a>; 00302 } <a class="code" href="structsnd__seq__ev__ctrl.html">snd_seq_ev_ctrl_t</a>; 00303 <a name="l00305"></a><a class="code" href="structsnd__seq__ev__raw8.html">00305</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__ev__raw8.html">snd_seq_ev_raw8</a> { <a name="l00306"></a><a class="code" href="structsnd__seq__ev__raw8.html#m0">00306</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structsnd__seq__ev__raw8.html#m0">d</a>[12]; 00307 } <a class="code" href="structsnd__seq__ev__raw8.html">snd_seq_ev_raw8_t</a>; 00308 <a name="l00310"></a><a class="code" href="structsnd__seq__ev__raw32.html">00310</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__ev__raw32.html">snd_seq_ev_raw32</a> { <a name="l00311"></a><a class="code" href="structsnd__seq__ev__raw32.html#m0">00311</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__ev__raw32.html#m0">d</a>[3]; 00312 } <a class="code" href="structsnd__seq__ev__raw32.html">snd_seq_ev_raw32_t</a>; 00313 <a name="l00315"></a><a class="code" href="structsnd__seq__ev__ext.html">00315</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__ev__ext.html">snd_seq_ev_ext</a> { <a name="l00316"></a><a class="code" href="structsnd__seq__ev__ext.html#m0">00316</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__ev__ext.html#m0">len</a>; <a name="l00317"></a><a class="code" href="structsnd__seq__ev__ext.html#m1">00317</a> <span class="keywordtype">void</span> *<a class="code" href="structsnd__seq__ev__ext.html#m1">ptr</a>; 00318 } __attribute__((packed)) <a class="code" href="structsnd__seq__ev__ext.html">snd_seq_ev_ext_t</a>; 00319 <a name="l00321"></a><a class="code" href="group___seq_events.html#a11">00321</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group___seq_events.html#a11">snd_seq_instr_cluster_t</a>; 00322 <a name="l00324"></a><a class="code" href="structsnd__seq__instr.html">00324</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__instr.html">snd_seq_instr</a> { <a name="l00325"></a><a class="code" href="structsnd__seq__instr.html#m0">00325</a> <a class="code" href="group___seq_events.html#a11">snd_seq_instr_cluster_t</a> <a class="code" href="structsnd__seq__instr.html#m0">cluster</a>; <a name="l00326"></a><a class="code" href="structsnd__seq__instr.html#m1">00326</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__instr.html#m1">std</a>; <a name="l00327"></a><a class="code" href="structsnd__seq__instr.html#m2">00327</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structsnd__seq__instr.html#m2">bank</a>; <a name="l00328"></a><a class="code" href="structsnd__seq__instr.html#m3">00328</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structsnd__seq__instr.html#m3">prg</a>; 00329 } <a class="code" href="structsnd__seq__instr.html">snd_seq_instr_t</a>; 00330 <a name="l00332"></a><a class="code" href="structsnd__seq__ev__sample.html">00332</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__ev__sample.html">snd_seq_ev_sample</a> { <a name="l00333"></a><a class="code" href="structsnd__seq__ev__sample.html#m0">00333</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__ev__sample.html#m0">std</a>; <a name="l00334"></a><a class="code" href="structsnd__seq__ev__sample.html#m1">00334</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structsnd__seq__ev__sample.html#m1">bank</a>; <a name="l00335"></a><a class="code" href="structsnd__seq__ev__sample.html#m2">00335</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structsnd__seq__ev__sample.html#m2">prg</a>; 00336 } <a class="code" href="structsnd__seq__ev__sample.html">snd_seq_ev_sample_t</a>; 00337 <a name="l00339"></a><a class="code" href="structsnd__seq__ev__cluster.html">00339</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__ev__cluster.html">snd_seq_ev_cluster</a> { <a name="l00340"></a><a class="code" href="structsnd__seq__ev__cluster.html#m0">00340</a> <a class="code" href="group___seq_events.html#a11">snd_seq_instr_cluster_t</a> <a class="code" href="structsnd__seq__ev__cluster.html#m0">cluster</a>; 00341 } <a class="code" href="structsnd__seq__ev__cluster.html">snd_seq_ev_cluster_t</a>; 00342 <a name="l00344"></a><a class="code" href="group___seq_events.html#a15">00344</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group___seq_events.html#a15">snd_seq_position_t</a>; <a name="l00347"></a><a class="code" href="group___seq_events.html#a40">00347</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="group___seq_events.html#a40">snd_seq_stop_mode</a> { 00348 <a class="code" href="group___seq_events.html#a40a126">SND_SEQ_SAMPLE_STOP_IMMEDIATELY</a> = 0, 00349 <a class="code" href="group___seq_events.html#a40a127">SND_SEQ_SAMPLE_STOP_VENVELOPE</a> = 1, 00350 <a class="code" href="group___seq_events.html#a40a128">SND_SEQ_SAMPLE_STOP_LOOP</a> = 2 00351 } <a class="code" href="group___seq_events.html#a16">snd_seq_stop_mode_t</a>; 00352 <a name="l00354"></a><a class="code" href="group___seq_events.html#a17">00354</a> <span class="keyword">typedef</span> <span class="keywordtype">int</span> <a class="code" href="group___seq_events.html#a17">snd_seq_frequency_t</a>; <a name="l00357"></a><a class="code" href="structsnd__seq__ev__volume.html">00357</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__ev__volume.html">snd_seq_ev_volume</a> { <a name="l00358"></a><a class="code" href="structsnd__seq__ev__volume.html#m0">00358</a> <span class="keywordtype">signed</span> <span class="keywordtype">short</span> <a class="code" href="structsnd__seq__ev__volume.html#m0">volume</a>; <a name="l00359"></a><a class="code" href="structsnd__seq__ev__volume.html#m1">00359</a> <span class="keywordtype">signed</span> <span class="keywordtype">short</span> <a class="code" href="structsnd__seq__ev__volume.html#m1">lr</a>; <a name="l00360"></a><a class="code" href="structsnd__seq__ev__volume.html#m2">00360</a> <span class="keywordtype">signed</span> <span class="keywordtype">short</span> <a class="code" href="structsnd__seq__ev__volume.html#m2">fr</a>; <a name="l00361"></a><a class="code" href="structsnd__seq__ev__volume.html#m3">00361</a> <span class="keywordtype">signed</span> <span class="keywordtype">short</span> <a class="code" href="structsnd__seq__ev__volume.html#m3">du</a>; 00362 } <a class="code" href="structsnd__seq__ev__volume.html">snd_seq_ev_volume_t</a>; 00363 <a name="l00365"></a><a class="code" href="structsnd__seq__ev__loop.html">00365</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__ev__loop.html">snd_seq_ev_loop</a> { <a name="l00366"></a><a class="code" href="structsnd__seq__ev__loop.html#m0">00366</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__ev__loop.html#m0">start</a>; <a name="l00367"></a><a class="code" href="structsnd__seq__ev__loop.html#m1">00367</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__ev__loop.html#m1">end</a>; 00368 } <a class="code" href="structsnd__seq__ev__loop.html">snd_seq_ev_loop_t</a>; 00369 <a name="l00371"></a><a class="code" href="structsnd__seq__ev__sample__control.html">00371</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__ev__sample__control.html">snd_seq_ev_sample_control</a> { <a name="l00372"></a><a class="code" href="structsnd__seq__ev__sample__control.html#m0">00372</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structsnd__seq__ev__sample__control.html#m0">channel</a>; <a name="l00373"></a><a class="code" href="structsnd__seq__ev__sample__control.html#m1">00373</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structsnd__seq__ev__sample__control.html#m1">unused</a>[3]; 00374 <span class="keyword">union </span>{ <a name="l00375"></a><a class="code" href="structsnd__seq__ev__sample__control.html#m2">00375</a> <a class="code" href="structsnd__seq__ev__sample.html">snd_seq_ev_sample_t</a> <a class="code" href="structsnd__seq__ev__sample__control.html#m2">sample</a>; <a name="l00376"></a><a class="code" href="structsnd__seq__ev__sample__control.html#m3">00376</a> <a class="code" href="structsnd__seq__ev__cluster.html">snd_seq_ev_cluster_t</a> <a class="code" href="structsnd__seq__ev__sample__control.html#m3">cluster</a>; <a name="l00377"></a><a class="code" href="structsnd__seq__ev__sample__control.html#m4">00377</a> <a class="code" href="group___seq_events.html#a15">snd_seq_position_t</a> <a class="code" href="structsnd__seq__ev__sample__control.html#m4">position</a>; <a name="l00378"></a><a class="code" href="structsnd__seq__ev__sample__control.html#m5">00378</a> <a class="code" href="group___seq_events.html#a16">snd_seq_stop_mode_t</a> <a class="code" href="structsnd__seq__ev__sample__control.html#m5">stop_mode</a>; <a name="l00379"></a><a class="code" href="structsnd__seq__ev__sample__control.html#m6">00379</a> <a class="code" href="group___seq_events.html#a17">snd_seq_frequency_t</a> <a class="code" href="structsnd__seq__ev__sample__control.html#m6">frequency</a>; <a name="l00380"></a><a class="code" href="structsnd__seq__ev__sample__control.html#m7">00380</a> <a class="code" href="structsnd__seq__ev__volume.html">snd_seq_ev_volume_t</a> <a class="code" href="structsnd__seq__ev__sample__control.html#m7">volume</a>; <a name="l00381"></a><a class="code" href="structsnd__seq__ev__sample__control.html#m8">00381</a> <a class="code" href="structsnd__seq__ev__loop.html">snd_seq_ev_loop_t</a> <a class="code" href="structsnd__seq__ev__sample__control.html#m8">loop</a>; <a name="l00382"></a><a class="code" href="structsnd__seq__ev__sample__control.html#m9">00382</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structsnd__seq__ev__sample__control.html#m9">raw8</a>[8]; 00383 } <a class="code" href="structsnd__seq__ev__sample__control.html#m10">param</a>; 00384 } <a class="code" href="structsnd__seq__ev__sample__control.html">snd_seq_ev_sample_control_t</a>; 00385 00386 00387 <a name="l00389"></a><a class="code" href="structsnd__seq__ev__instr__begin.html">00389</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__ev__instr__begin.html">snd_seq_ev_instr_begin</a> { <a name="l00390"></a><a class="code" href="structsnd__seq__ev__instr__begin.html#m0">00390</a> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__ev__instr__begin.html#m0">timeout</a>; 00391 } <a class="code" href="structsnd__seq__ev__instr__begin.html">snd_seq_ev_instr_begin_t</a>; 00392 <a name="l00394"></a><a class="code" href="structsnd__seq__result.html">00394</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__result.html">snd_seq_result</a> { <a name="l00395"></a><a class="code" href="structsnd__seq__result.html#m0">00395</a> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__result.html#m0">event</a>; <a name="l00396"></a><a class="code" href="structsnd__seq__result.html#m1">00396</a> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__result.html#m1">result</a>; 00397 } <a class="code" href="structsnd__seq__result.html">snd_seq_result_t</a>; 00398 <a name="l00400"></a><a class="code" href="structsnd__seq__queue__skew.html">00400</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__queue__skew.html">snd_seq_queue_skew</a> { <a name="l00401"></a><a class="code" href="structsnd__seq__queue__skew.html#m0">00401</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__queue__skew.html#m0">value</a>; <a name="l00402"></a><a class="code" href="structsnd__seq__queue__skew.html#m1">00402</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__queue__skew.html#m1">base</a>; 00403 } <a class="code" href="structsnd__seq__queue__skew.html">snd_seq_queue_skew_t</a>; 00404 <a name="l00406"></a><a class="code" href="structsnd__seq__ev__queue__control.html">00406</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__ev__queue__control.html">snd_seq_ev_queue_control</a> { <a name="l00407"></a><a class="code" href="structsnd__seq__ev__queue__control.html#m0">00407</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structsnd__seq__ev__queue__control.html#m0">queue</a>; <a name="l00408"></a><a class="code" href="structsnd__seq__ev__queue__control.html#m1">00408</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structsnd__seq__ev__queue__control.html#m1">unused</a>[3]; 00409 <span class="keyword">union </span>{ <a name="l00410"></a><a class="code" href="structsnd__seq__ev__queue__control.html#m2">00410</a> <span class="keywordtype">signed</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__ev__queue__control.html#m2">value</a>; <a name="l00411"></a><a class="code" href="structsnd__seq__ev__queue__control.html#m3">00411</a> <a class="code" href="unionsnd__seq__timestamp.html">snd_seq_timestamp_t</a> <a class="code" href="structsnd__seq__ev__queue__control.html#m3">time</a>; <a name="l00412"></a><a class="code" href="structsnd__seq__ev__queue__control.html#m4">00412</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__ev__queue__control.html#m4">position</a>; <a name="l00413"></a><a class="code" href="structsnd__seq__ev__queue__control.html#m5">00413</a> <a class="code" href="structsnd__seq__queue__skew.html">snd_seq_queue_skew_t</a> <a class="code" href="structsnd__seq__ev__queue__control.html#m5">skew</a>; <a name="l00414"></a><a class="code" href="structsnd__seq__ev__queue__control.html#m6">00414</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structsnd__seq__ev__queue__control.html#m6">d32</a>[2]; <a name="l00415"></a><a class="code" href="structsnd__seq__ev__queue__control.html#m7">00415</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structsnd__seq__ev__queue__control.html#m7">d8</a>[8]; 00416 } <a class="code" href="structsnd__seq__ev__queue__control.html#m8">param</a>; 00417 } <a class="code" href="structsnd__seq__ev__queue__control.html">snd_seq_ev_queue_control_t</a>; 00418 00419 <a name="l00421"></a><a class="code" href="structsnd__seq__event.html">00421</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsnd__seq__event.html">snd_seq_event</a> { <a name="l00422"></a><a class="code" href="structsnd__seq__event.html#m0">00422</a> <a class="code" href="group___seq_events.html#a0">snd_seq_event_type_t</a> <a class="code" href="structsnd__seq__event.html#m0">type</a>; <a name="l00423"></a><a class="code" href="structsnd__seq__event.html#m1">00423</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structsnd__seq__event.html#m1">flags</a>; <a name="l00424"></a><a class="code" href="structsnd__seq__event.html#m2">00424</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structsnd__seq__event.html#m2">tag</a>; <a name="l00426"></a><a class="code" href="structsnd__seq__event.html#m3">00426</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structsnd__seq__event.html#m3">queue</a>; 00427 <a class="code" href="unionsnd__seq__timestamp.html">snd_seq_timestamp_t</a> <a class="code" href="structsnd__seq__event.html#m4">time</a>; <a name="l00429"></a><a class="code" href="structsnd__seq__event.html#m5">00429</a> <a class="code" href="structsnd__seq__addr.html">snd_seq_addr_t</a> <a class="code" href="structsnd__seq__event.html#m5">source</a>; <a name="l00430"></a><a class="code" href="structsnd__seq__event.html#m6">00430</a> <a class="code" href="structsnd__seq__addr.html">snd_seq_addr_t</a> <a class="code" href="structsnd__seq__event.html#m6">dest</a>; 00432 <span class="keyword">union </span>{ <a name="l00433"></a><a class="code" href="structsnd__seq__event.html#m7">00433</a> <a class="code" href="structsnd__seq__ev__note.html">snd_seq_ev_note_t</a> <a class="code" href="structsnd__seq__event.html#m7">note</a>; <a name="l00434"></a><a class="code" href="structsnd__seq__event.html#m8">00434</a> <a class="code" href="structsnd__seq__ev__ctrl.html">snd_seq_ev_ctrl_t</a> <a class="code" href="structsnd__seq__event.html#m8">control</a>; <a name="l00435"></a><a class="code" href="structsnd__seq__event.html#m9">00435</a> <a class="code" href="structsnd__seq__ev__raw8.html">snd_seq_ev_raw8_t</a> <a class="code" href="structsnd__seq__event.html#m9">raw8</a>; <a name="l00436"></a><a class="code" href="structsnd__seq__event.html#m10">00436</a> <a class="code" href="structsnd__seq__ev__raw32.html">snd_seq_ev_raw32_t</a> <a class="code" href="structsnd__seq__event.html#m10">raw32</a>; <a name="l00437"></a><a class="code" href="structsnd__seq__event.html#m11">00437</a> <a class="code" href="structsnd__seq__ev__ext.html">snd_seq_ev_ext_t</a> <a class="code" href="structsnd__seq__event.html#m11">ext</a>; <a name="l00438"></a><a class="code" href="structsnd__seq__event.html#m12">00438</a> <a class="code" href="structsnd__seq__ev__queue__control.html">snd_seq_ev_queue_control_t</a> <a class="code" href="structsnd__seq__event.html#m3">queue</a>; <a name="l00439"></a><a class="code" href="structsnd__seq__event.html#m4">00439</a> <a class="code" href="unionsnd__seq__timestamp.html">snd_seq_timestamp_t</a> time; <a name="l00440"></a><a class="code" href="structsnd__seq__event.html#m13">00440</a> <a class="code" href="structsnd__seq__addr.html">snd_seq_addr_t</a> <a class="code" href="structsnd__seq__event.html#m13">addr</a>; <a name="l00441"></a><a class="code" href="structsnd__seq__event.html#m14">00441</a> <a class="code" href="structsnd__seq__connect.html">snd_seq_connect_t</a> <a class="code" href="structsnd__seq__event.html#m14">connect</a>; <a name="l00442"></a><a class="code" href="structsnd__seq__event.html#m15">00442</a> <a class="code" href="structsnd__seq__result.html">snd_seq_result_t</a> <a class="code" href="structsnd__seq__event.html#m15">result</a>; <a name="l00443"></a><a class="code" href="structsnd__seq__event.html#m16">00443</a> <a class="code" href="structsnd__seq__ev__instr__begin.html">snd_seq_ev_instr_begin_t</a> <a class="code" href="structsnd__seq__event.html#m16">instr_begin</a>; <a name="l00444"></a><a class="code" href="structsnd__seq__event.html#m17">00444</a> <a class="code" href="structsnd__seq__ev__sample__control.html">snd_seq_ev_sample_control_t</a> <a class="code" href="structsnd__seq__event.html#m17">sample</a>; 00445 } <a class="code" href="structsnd__seq__event.html#m18">data</a>; 00446 } <a class="code" href="structsnd__seq__event.html">snd_seq_event_t</a>; 00447 00448 00451 <span class="preprocessor">#endif </span><span class="comment">/* __ALSA_SEQ_EVENT_H */</span> 00452 </pre></div><hr><address style="align: right;"><small>Generated on Wed Apr 2 16:06:33 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>