<!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 Queue Interface</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 Queue Interface<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_queue.html#a64">SND_SEQ_QUEUE_DIRECT</a> 253</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_queue.html#a65">snd_seq_queue_info_alloca</a>(ptr) SND_ALLOCA(snd_seq_queue_info, ptr)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_queue.html#a66">snd_seq_queue_status_alloca</a>(ptr) SND_ALLOCA(snd_seq_queue_status, ptr)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_queue.html#a67">snd_seq_queue_tempo_alloca</a>(ptr) SND_ALLOCA(snd_seq_queue_tempo, ptr)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_queue.html#a68">snd_seq_queue_timer_alloca</a>(ptr) SND_ALLOCA(snd_seq_queue_timer, ptr)</td></tr> <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> <tr><td nowrap align=right valign=top>typedef _snd_seq_queue_info </td><td valign=bottom><a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a></td></tr> <tr><td nowrap align=right valign=top>typedef _snd_seq_queue_status </td><td valign=bottom><a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a></td></tr> <tr><td nowrap align=right valign=top>typedef _snd_seq_queue_tempo </td><td valign=bottom><a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a></td></tr> <tr><td nowrap align=right valign=top>typedef _snd_seq_queue_timer </td><td valign=bottom><a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a></td></tr> <tr><td colspan=2><br><h2>Enumerations</h2></td></tr> <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group___seq_queue.html#a69">snd_seq_queue_timer_type_t</a> </td></tr> <tr><td colspan=2><br><h2>Functions</h2></td></tr> <tr><td nowrap align=right valign=top>size_t </td><td valign=bottom><a class="el" href="group___seq_queue.html#a4">snd_seq_queue_info_sizeof</a> (void)</td></tr> <tr><td> </td><td><font size=-1><em>get size of <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a></em> <a href="#a4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a5">snd_seq_queue_info_malloc</a> (<a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> **ptr)</td></tr> <tr><td> </td><td><font size=-1><em>allocate an empty <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> using standard malloc</em> <a href="#a5"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a6">snd_seq_queue_info_free</a> (<a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *ptr)</td></tr> <tr><td> </td><td><font size=-1><em>frees a previously allocated <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a></em> <a href="#a6"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a7">snd_seq_queue_info_copy</a> (<a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *dst, const <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *src)</td></tr> <tr><td> </td><td><font size=-1><em>copy one <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> to another</em> <a href="#a7"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a8">snd_seq_queue_info_get_queue</a> (const <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the queue id of a queue_info container.</em> <a href="#a8"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="group___seq_queue.html#a9">snd_seq_queue_info_get_name</a> (const <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the name of a queue_info container.</em> <a href="#a9"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a10">snd_seq_queue_info_get_owner</a> (const <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the owner client id of a queue_info container.</em> <a href="#a10"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a11">snd_seq_queue_info_get_locked</a> (const <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the lock status of a queue_info container.</em> <a href="#a11"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a12">snd_seq_queue_info_get_flags</a> (const <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the conditional bit flags of a queue_info container.</em> <a href="#a12"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a13">snd_seq_queue_info_set_name</a> (<a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *info, const char *name)</td></tr> <tr><td> </td><td><font size=-1><em>Set the name of a queue_info container.</em> <a href="#a13"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a14">snd_seq_queue_info_set_owner</a> (<a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *info, int owner)</td></tr> <tr><td> </td><td><font size=-1><em>Set the owner client id of a queue_info container.</em> <a href="#a14"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a15">snd_seq_queue_info_set_locked</a> (<a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *info, int locked)</td></tr> <tr><td> </td><td><font size=-1><em>Set the lock status of a queue_info container.</em> <a href="#a15"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a16">snd_seq_queue_info_set_flags</a> (<a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *info, unsigned int flags)</td></tr> <tr><td> </td><td><font size=-1><em>Set the conditional bit flags of a queue_info container.</em> <a href="#a16"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a17">snd_seq_create_queue</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *seq, <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>create a queue</em> <a href="#a17"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a18">snd_seq_alloc_named_queue</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *seq, const char *name)</td></tr> <tr><td> </td><td><font size=-1><em>allocate a queue with the specified name</em> <a href="#a18"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a19">snd_seq_alloc_queue</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *handle)</td></tr> <tr><td> </td><td><font size=-1><em>allocate a queue</em> <a href="#a19"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a20">snd_seq_free_queue</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *handle, int q)</td></tr> <tr><td> </td><td><font size=-1><em>delete the specified queue</em> <a href="#a20"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a21">snd_seq_get_queue_info</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *seq, int q, <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>obtain queue attributes</em> <a href="#a21"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a22">snd_seq_set_queue_info</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *seq, int q, <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>change the queue attributes</em> <a href="#a22"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a23">snd_seq_query_named_queue</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *seq, const char *name)</td></tr> <tr><td> </td><td><font size=-1><em>query the matching queue with the specified name</em> <a href="#a23"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a24">snd_seq_get_queue_usage</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *handle, int q)</td></tr> <tr><td> </td><td><font size=-1><em>Get the queue usage flag to the client.</em> <a href="#a24"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a25">snd_seq_set_queue_usage</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *handle, int q, int used)</td></tr> <tr><td> </td><td><font size=-1><em>Set the queue usage flag to the client.</em> <a href="#a25"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>size_t </td><td valign=bottom><a class="el" href="group___seq_queue.html#a26">snd_seq_queue_status_sizeof</a> (void)</td></tr> <tr><td> </td><td><font size=-1><em>get size of <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a></em> <a href="#a26"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a27">snd_seq_queue_status_malloc</a> (<a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> **ptr)</td></tr> <tr><td> </td><td><font size=-1><em>allocate an empty <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> using standard malloc</em> <a href="#a27"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a28">snd_seq_queue_status_free</a> (<a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> *ptr)</td></tr> <tr><td> </td><td><font size=-1><em>frees a previously allocated <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a></em> <a href="#a28"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a29">snd_seq_queue_status_copy</a> (<a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> *dst, const <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> *src)</td></tr> <tr><td> </td><td><font size=-1><em>copy one <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> to another</em> <a href="#a29"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a30">snd_seq_queue_status_get_queue</a> (const <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the queue id of a queue_status container.</em> <a href="#a30"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a31">snd_seq_queue_status_get_events</a> (const <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the number of events of a queue_status container.</em> <a href="#a31"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group___seq_events.html#a4">snd_seq_tick_time_t</a> </td><td valign=bottom><a class="el" href="group___seq_queue.html#a32">snd_seq_queue_status_get_tick_time</a> (const <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the tick time of a queue_status container.</em> <a href="#a32"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const <a class="el" href="group___seq_events.html#a3">snd_seq_real_time_t</a> * </td><td valign=bottom><a class="el" href="group___seq_queue.html#a33">snd_seq_queue_status_get_real_time</a> (const <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the real time of a queue_status container.</em> <a href="#a33"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a34">snd_seq_queue_status_get_status</a> (const <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the running status bits of a queue_status container.</em> <a href="#a34"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a35">snd_seq_get_queue_status</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *handle, int q, <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> *status)</td></tr> <tr><td> </td><td><font size=-1><em>obtain the running state of the queue</em> <a href="#a35"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>size_t </td><td valign=bottom><a class="el" href="group___seq_queue.html#a36">snd_seq_queue_tempo_sizeof</a> (void)</td></tr> <tr><td> </td><td><font size=-1><em>get size of <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a></em> <a href="#a36"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a37">snd_seq_queue_tempo_malloc</a> (<a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> **ptr)</td></tr> <tr><td> </td><td><font size=-1><em>allocate an empty <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> using standard malloc</em> <a href="#a37"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a38">snd_seq_queue_tempo_free</a> (<a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> *ptr)</td></tr> <tr><td> </td><td><font size=-1><em>frees a previously allocated <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a></em> <a href="#a38"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a39">snd_seq_queue_tempo_copy</a> (<a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> *dst, const <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> *src)</td></tr> <tr><td> </td><td><font size=-1><em>copy one <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> to another</em> <a href="#a39"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a40">snd_seq_queue_tempo_get_queue</a> (const <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the queue id of a queue_status container.</em> <a href="#a40"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a41">snd_seq_queue_tempo_get_tempo</a> (const <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the tempo of a queue_status container.</em> <a href="#a41"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a42">snd_seq_queue_tempo_get_ppq</a> (const <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the ppq of a queue_status container.</em> <a href="#a42"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a43">snd_seq_queue_tempo_get_skew</a> (const <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the timer skew value of a queue_status container.</em> <a href="#a43"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a44">snd_seq_queue_tempo_get_skew_base</a> (const <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the timer skew base value of a queue_status container.</em> <a href="#a44"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a45">snd_seq_queue_tempo_set_tempo</a> (<a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> *info, unsigned int tempo)</td></tr> <tr><td> </td><td><font size=-1><em>Set the tempo of a queue_status container.</em> <a href="#a45"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a46">snd_seq_queue_tempo_set_ppq</a> (<a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> *info, int ppq)</td></tr> <tr><td> </td><td><font size=-1><em>Set the ppq of a queue_status container.</em> <a href="#a46"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a47">snd_seq_queue_tempo_set_skew</a> (<a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> *info, unsigned int skew)</td></tr> <tr><td> </td><td><font size=-1><em>Set the timer skew value of a queue_status container.</em> <a href="#a47"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a48">snd_seq_queue_tempo_set_skew_base</a> (<a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> *info, unsigned int base)</td></tr> <tr><td> </td><td><font size=-1><em>Set the timer skew base value of a queue_status container.</em> <a href="#a48"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a49">snd_seq_get_queue_tempo</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *handle, int q, <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> *tempo)</td></tr> <tr><td> </td><td><font size=-1><em>obtain the current tempo of the queue</em> <a href="#a49"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a50">snd_seq_set_queue_tempo</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *handle, int q, <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> *tempo)</td></tr> <tr><td> </td><td><font size=-1><em>set the tempo of the queue</em> <a href="#a50"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>size_t </td><td valign=bottom><a class="el" href="group___seq_queue.html#a51">snd_seq_queue_timer_sizeof</a> (void)</td></tr> <tr><td> </td><td><font size=-1><em>get size of <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a></em> <a href="#a51"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a52">snd_seq_queue_timer_malloc</a> (<a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> **ptr)</td></tr> <tr><td> </td><td><font size=-1><em>allocate an empty <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> using standard malloc</em> <a href="#a52"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a53">snd_seq_queue_timer_free</a> (<a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> *ptr)</td></tr> <tr><td> </td><td><font size=-1><em>frees a previously allocated <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a></em> <a href="#a53"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a54">snd_seq_queue_timer_copy</a> (<a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> *dst, const <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> *src)</td></tr> <tr><td> </td><td><font size=-1><em>copy one <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> to another</em> <a href="#a54"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a55">snd_seq_queue_timer_get_queue</a> (const <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the queue id of a queue_timer container.</em> <a href="#a55"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group___seq_queue.html#a69">snd_seq_queue_timer_type_t</a> </td><td valign=bottom><a class="el" href="group___seq_queue.html#a56">snd_seq_queue_timer_get_type</a> (const <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the timer type of a queue_timer container.</em> <a href="#a56"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const <a class="el" href="group___timer.html#a0">snd_timer_id_t</a> * </td><td valign=bottom><a class="el" href="group___seq_queue.html#a57">snd_seq_queue_timer_get_id</a> (const <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the timer id of a queue_timer container.</em> <a href="#a57"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a58">snd_seq_queue_timer_get_resolution</a> (const <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the timer resolution of a queue_timer container.</em> <a href="#a58"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a59">snd_seq_queue_timer_set_type</a> (<a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> *info, <a class="el" href="group___seq_queue.html#a69">snd_seq_queue_timer_type_t</a> type)</td></tr> <tr><td> </td><td><font size=-1><em>Set the timer type of a queue_timer container.</em> <a href="#a59"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a60">snd_seq_queue_timer_set_id</a> (<a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> *info, const <a class="el" href="group___timer.html#a0">snd_timer_id_t</a> *id)</td></tr> <tr><td> </td><td><font size=-1><em>Set the timer id of a queue_timer container.</em> <a href="#a60"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_queue.html#a61">snd_seq_queue_timer_set_resolution</a> (<a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> *info, unsigned int resolution)</td></tr> <tr><td> </td><td><font size=-1><em>Set the timer resolution of a queue_timer container.</em> <a href="#a61"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a62">snd_seq_get_queue_timer</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *handle, int q, <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> *timer)</td></tr> <tr><td> </td><td><font size=-1><em>obtain the queue timer information</em> <a href="#a62"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_queue.html#a63">snd_seq_set_queue_timer</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *handle, int q, <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> *timer)</td></tr> <tr><td> </td><td><font size=-1><em>set the queue timer information</em> <a href="#a63"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Sequencer Queue Interface <hr><h2>Define Documentation</h2> <a name="a64" doxytag="seq.h::SND_SEQ_QUEUE_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_QUEUE_DIRECT 253 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> direct dispatch </td> </tr> </table> <a name="a65" doxytag="seq.h::snd_seq_queue_info_alloca"></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_queue_info_alloca</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ptr </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> SND_ALLOCA(snd_seq_queue_info, ptr) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> allocate a <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> container on stack </td> </tr> </table> <a name="a66" doxytag="seq.h::snd_seq_queue_status_alloca"></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_queue_status_alloca</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ptr </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> SND_ALLOCA(snd_seq_queue_status, ptr) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> allocate a <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> container on stack </td> </tr> </table> <a name="a67" doxytag="seq.h::snd_seq_queue_tempo_alloca"></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_queue_tempo_alloca</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ptr </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> SND_ALLOCA(snd_seq_queue_tempo, ptr) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> allocate a <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> container on stack </td> </tr> </table> <a name="a68" doxytag="seq.h::snd_seq_queue_timer_alloca"></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_queue_timer_alloca</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ptr </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> SND_ALLOCA(snd_seq_queue_timer, ptr) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> allocate a <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> container on stack </td> </tr> </table> <hr><h2>Typedef Documentation</h2> <a name="a0" doxytag="seq.h::snd_seq_queue_info_t"></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"> typedef struct _snd_seq_queue_info snd_seq_queue_info_t </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> queue information container </td> </tr> </table> <a name="a1" doxytag="seq.h::snd_seq_queue_status_t"></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"> typedef struct _snd_seq_queue_status snd_seq_queue_status_t </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> queue status container </td> </tr> </table> <a name="a2" doxytag="seq.h::snd_seq_queue_tempo_t"></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"> typedef struct _snd_seq_queue_tempo snd_seq_queue_tempo_t </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> queue tempo container </td> </tr> </table> <a name="a3" doxytag="seq.h::snd_seq_queue_timer_t"></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"> typedef struct _snd_seq_queue_timer snd_seq_queue_timer_t </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> queue timer information container </td> </tr> </table> <hr><h2>Enumeration Type Documentation</h2> <a name="a69" doxytag="seq.h::snd_seq_queue_timer_type_t"></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"> enum snd_seq_queue_timer_type_t </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> sequencer timer sources </td> </tr> </table> <hr><h2>Function Documentation</h2> <a name="a18" doxytag="seq.h::snd_seq_alloc_named_queue"></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"> int snd_seq_alloc_named_queue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>name</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> allocate a queue with the specified name <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>name</em> </td><td> the name of the new queue </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> the queue id (zero or positive) on success otherwise a negative error code </dl> </td> </tr> </table> <a name="a19" doxytag="seq.h::snd_seq_alloc_queue"></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"> int snd_seq_alloc_queue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>seq</em> </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> allocate a queue <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> the queue id (zero or positive) on success otherwise a negative error code </dl> </td> </tr> </table> <a name="a17" doxytag="seq.h::snd_seq_create_queue"></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"> int snd_seq_create_queue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname" nowrap> <em>info</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> create a queue <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>info</em> </td><td> queue information to initialize </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> the queue id (zero or positive) on success otherwise a negative error code </dl> </td> </tr> </table> <a name="a20" doxytag="seq.h::snd_seq_free_queue"></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"> int snd_seq_free_queue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>q</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> delete the specified queue <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>q</em> </td><td> queue id to delete </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise a negative error code </dl> </td> </tr> </table> <a name="a21" doxytag="seq.h::snd_seq_get_queue_info"></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"> int snd_seq_get_queue_info </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>q</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname" nowrap> <em>info</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> obtain queue attributes <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>q</em> </td><td> queue id to query </td></tr> <tr><td valign=top><em>info</em> </td><td> information returned </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise a negative error code </dl> </td> </tr> </table> <a name="a35" doxytag="seq.h::snd_seq_get_queue_status"></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"> int snd_seq_get_queue_status </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>q</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> * </td> <td class="mdname" nowrap> <em>status</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> obtain the running state of the queue <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>q</em> </td><td> queue id to query </td></tr> <tr><td valign=top><em>status</em> </td><td> pointer to store the current status </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise a negative error code</dl>Obtains the running state of the specified queue q. </td> </tr> </table> <a name="a49" doxytag="seq.h::snd_seq_get_queue_tempo"></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"> int snd_seq_get_queue_tempo </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>q</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> * </td> <td class="mdname" nowrap> <em>tempo</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> obtain the current tempo of the queue <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>q</em> </td><td> queue id to be queried </td></tr> <tr><td valign=top><em>tempo</em> </td><td> pointer to store the current tempo </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise a negative error code </dl> </td> </tr> </table> <a name="a62" doxytag="seq.h::snd_seq_get_queue_timer"></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"> int snd_seq_get_queue_timer </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>q</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> * </td> <td class="mdname" nowrap> <em>timer</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> obtain the queue timer information <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>q</em> </td><td> queue id to query </td></tr> <tr><td valign=top><em>timer</em> </td><td> pointer to store the timer information </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise a negative error code </dl> </td> </tr> </table> <a name="a24" doxytag="seq.h::snd_seq_get_queue_usage"></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"> int snd_seq_get_queue_usage </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>q</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the queue usage flag to the client. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>q</em> </td><td> queue id </td></tr> <tr><td valign=top><em>client</em> </td><td> client id </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 1 = client is allowed to access the queue, 0 = not allowed, otherwise a negative error code </dl> </td> </tr> </table> <a name="a23" doxytag="seq.h::snd_seq_query_named_queue"></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"> int snd_seq_query_named_queue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>name</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> query the matching queue with the specified name <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>name</em> </td><td> the name string to query </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> the queue id if found or negative error code</dl>Searches the matching queue with the specified name string. </td> </tr> </table> <a name="a7" doxytag="seq.h::snd_seq_queue_info_copy"></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"> void snd_seq_queue_info_copy </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname" nowrap> <em>dst</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname" nowrap> <em>src</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> copy one <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> to another <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>dst</em> </td><td> pointer to destination </td></tr> <tr><td valign=top><em>src</em> </td><td> pointer to source </td></tr> </table> </dl> </td> </tr> </table> <a name="a6" doxytag="seq.h::snd_seq_queue_info_free"></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"> void snd_seq_queue_info_free </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</em> </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> frees a previously allocated <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>pointer</em> </td><td> to object to free </td></tr> </table> </dl> </td> </tr> </table> <a name="a12" doxytag="seq.h::snd_seq_queue_info_get_flags"></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"> unsigned int snd_seq_queue_info_get_flags </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the conditional bit flags of a queue_info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> conditional bit flags </dl> </td> </tr> </table> <a name="a11" doxytag="seq.h::snd_seq_queue_info_get_locked"></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"> int snd_seq_queue_info_get_locked </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the lock status of a queue_info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> lock status --- non-zero = locked </dl> </td> </tr> </table> <a name="a9" doxytag="seq.h::snd_seq_queue_info_get_name"></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 char* snd_seq_queue_info_get_name </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the name of a queue_info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> name string </dl> </td> </tr> </table> <a name="a10" doxytag="seq.h::snd_seq_queue_info_get_owner"></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"> int snd_seq_queue_info_get_owner </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the owner client id of a queue_info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> owner client id </dl> </td> </tr> </table> <a name="a8" doxytag="seq.h::snd_seq_queue_info_get_queue"></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"> int snd_seq_queue_info_get_queue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the queue id of a queue_info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> queue id </dl> </td> </tr> </table> <a name="a5" doxytag="seq.h::snd_seq_queue_info_malloc"></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"> int snd_seq_queue_info_malloc </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> ** </td> <td class="mdname1" valign="top" nowrap> <em>ptr</em> </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> allocate an empty <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> using standard malloc <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>ptr</em> </td><td> returned pointer </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise negative error code </dl> </td> </tr> </table> <a name="a16" doxytag="seq.h::snd_seq_queue_info_set_flags"></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"> void snd_seq_queue_info_set_flags </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned int </td> <td class="mdname" nowrap> <em>flags</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the conditional bit flags of a queue_info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_info container </td></tr> <tr><td valign=top><em>flags</em> </td><td> conditional bit flags </td></tr> </table> </dl> </td> </tr> </table> <a name="a15" doxytag="seq.h::snd_seq_queue_info_set_locked"></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"> void snd_seq_queue_info_set_locked </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>locked</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the lock status of a queue_info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_info container </td></tr> <tr><td valign=top><em>locked</em> </td><td> lock status </td></tr> </table> </dl> </td> </tr> </table> <a name="a13" doxytag="seq.h::snd_seq_queue_info_set_name"></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"> void snd_seq_queue_info_set_name </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>name</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the name of a queue_info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_info container </td></tr> <tr><td valign=top><em>name</em> </td><td> name string </td></tr> </table> </dl> </td> </tr> </table> <a name="a14" doxytag="seq.h::snd_seq_queue_info_set_owner"></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"> void snd_seq_queue_info_set_owner </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>owner</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the owner client id of a queue_info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_info container </td></tr> <tr><td valign=top><em>owner</em> </td><td> client id </td></tr> </table> </dl> </td> </tr> </table> <a name="a4" doxytag="seq.h::snd_seq_queue_info_sizeof"></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"> size_t snd_seq_queue_info_sizeof </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </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> get size of <a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> <p> <dl compact><dt><b>Returns: </b></dt><dd> size in bytes </dl> </td> </tr> </table> <a name="a29" doxytag="seq.h::snd_seq_queue_status_copy"></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"> void snd_seq_queue_status_copy </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> * </td> <td class="mdname" nowrap> <em>dst</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> * </td> <td class="mdname" nowrap> <em>src</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> copy one <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> to another <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>dst</em> </td><td> pointer to destination </td></tr> <tr><td valign=top><em>src</em> </td><td> pointer to source </td></tr> </table> </dl> </td> </tr> </table> <a name="a28" doxytag="seq.h::snd_seq_queue_status_free"></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"> void snd_seq_queue_status_free </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</em> </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> frees a previously allocated <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>pointer</em> </td><td> to object to free </td></tr> </table> </dl> </td> </tr> </table> <a name="a31" doxytag="seq.h::snd_seq_queue_status_get_events"></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"> int snd_seq_queue_status_get_events </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the number of events of a queue_status container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_status container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> number of events </dl> </td> </tr> </table> <a name="a30" doxytag="seq.h::snd_seq_queue_status_get_queue"></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"> int snd_seq_queue_status_get_queue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the queue id of a queue_status container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_status container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> queue id </dl> </td> </tr> </table> <a name="a33" doxytag="seq.h::snd_seq_queue_status_get_real_time"></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 <a class="el" href="group___seq_events.html#a3">snd_seq_real_time_t</a>* snd_seq_queue_status_get_real_time </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the real time of a queue_status container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_status container </td></tr> <tr><td valign=top><em>time</em> </td><td> real time </td></tr> </table> </dl> </td> </tr> </table> <a name="a34" doxytag="seq.h::snd_seq_queue_status_get_status"></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"> unsigned int snd_seq_queue_status_get_status </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the running status bits of a queue_status container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_status container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> running status bits </dl> </td> </tr> </table> <a name="a32" doxytag="seq.h::snd_seq_queue_status_get_tick_time"></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"> <a class="el" href="group___seq_events.html#a4">snd_seq_tick_time_t</a> snd_seq_queue_status_get_tick_time </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the tick time of a queue_status container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_status container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> tick time </dl> </td> </tr> </table> <a name="a27" doxytag="seq.h::snd_seq_queue_status_malloc"></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"> int snd_seq_queue_status_malloc </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> ** </td> <td class="mdname1" valign="top" nowrap> <em>ptr</em> </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> allocate an empty <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> using standard malloc <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>ptr</em> </td><td> returned pointer </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise negative error code </dl> </td> </tr> </table> <a name="a26" doxytag="seq.h::snd_seq_queue_status_sizeof"></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"> size_t snd_seq_queue_status_sizeof </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </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> get size of <a class="el" href="group___seq_queue.html#a1">snd_seq_queue_status_t</a> <p> <dl compact><dt><b>Returns: </b></dt><dd> size in bytes </dl> </td> </tr> </table> <a name="a39" doxytag="seq.h::snd_seq_queue_tempo_copy"></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"> void snd_seq_queue_tempo_copy </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> * </td> <td class="mdname" nowrap> <em>dst</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> * </td> <td class="mdname" nowrap> <em>src</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> copy one <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> to another <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>dst</em> </td><td> pointer to destination </td></tr> <tr><td valign=top><em>src</em> </td><td> pointer to source </td></tr> </table> </dl> </td> </tr> </table> <a name="a38" doxytag="seq.h::snd_seq_queue_tempo_free"></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"> void snd_seq_queue_tempo_free </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</em> </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> frees a previously allocated <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>pointer</em> </td><td> to object to free </td></tr> </table> </dl> </td> </tr> </table> <a name="a42" doxytag="seq.h::snd_seq_queue_tempo_get_ppq"></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"> int snd_seq_queue_tempo_get_ppq </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the ppq of a queue_status container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_status container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> ppq value </dl> </td> </tr> </table> <a name="a40" doxytag="seq.h::snd_seq_queue_tempo_get_queue"></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"> int snd_seq_queue_tempo_get_queue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the queue id of a queue_status container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_status container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> queue id </dl> </td> </tr> </table> <a name="a43" doxytag="seq.h::snd_seq_queue_tempo_get_skew"></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"> unsigned int snd_seq_queue_tempo_get_skew </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the timer skew value of a queue_status container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_status container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> timer skew value </dl> </td> </tr> </table> <a name="a44" doxytag="seq.h::snd_seq_queue_tempo_get_skew_base"></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"> unsigned int snd_seq_queue_tempo_get_skew_base </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the timer skew base value of a queue_status container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_status container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> timer skew base value </dl> </td> </tr> </table> <a name="a41" doxytag="seq.h::snd_seq_queue_tempo_get_tempo"></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"> unsigned int snd_seq_queue_tempo_get_tempo </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the tempo of a queue_status container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_status container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> tempo value </dl> </td> </tr> </table> <a name="a37" doxytag="seq.h::snd_seq_queue_tempo_malloc"></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"> int snd_seq_queue_tempo_malloc </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> ** </td> <td class="mdname1" valign="top" nowrap> <em>ptr</em> </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> allocate an empty <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> using standard malloc <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>ptr</em> </td><td> returned pointer </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise negative error code </dl> </td> </tr> </table> <a name="a46" doxytag="seq.h::snd_seq_queue_tempo_set_ppq"></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"> void snd_seq_queue_tempo_set_ppq </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>ppq</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the ppq of a queue_status container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_status container </td></tr> <tr><td valign=top><em>ppq</em> </td><td> ppq value </td></tr> </table> </dl> </td> </tr> </table> <a name="a47" doxytag="seq.h::snd_seq_queue_tempo_set_skew"></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"> void snd_seq_queue_tempo_set_skew </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned int </td> <td class="mdname" nowrap> <em>skew</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the timer skew value of a queue_status container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_status container </td></tr> <tr><td valign=top><em>skew</em> </td><td> timer skew value</td></tr> </table> </dl>The skew of timer is calculated as skew / base. For example, to play with double speed, pass base * 2 as the skew value. </td> </tr> </table> <a name="a48" doxytag="seq.h::snd_seq_queue_tempo_set_skew_base"></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"> void snd_seq_queue_tempo_set_skew_base </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned int </td> <td class="mdname" nowrap> <em>base</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the timer skew base value of a queue_status container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_status container </td></tr> <tr><td valign=top><em>base</em> </td><td> timer skew base value </td></tr> </table> </dl> </td> </tr> </table> <a name="a45" doxytag="seq.h::snd_seq_queue_tempo_set_tempo"></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"> void snd_seq_queue_tempo_set_tempo </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned int </td> <td class="mdname" nowrap> <em>tempo</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the tempo of a queue_status container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_status container </td></tr> <tr><td valign=top><em>tempo</em> </td><td> tempo value </td></tr> </table> </dl> </td> </tr> </table> <a name="a36" doxytag="seq.h::snd_seq_queue_tempo_sizeof"></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"> size_t snd_seq_queue_tempo_sizeof </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </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> get size of <a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> <p> <dl compact><dt><b>Returns: </b></dt><dd> size in bytes </dl> </td> </tr> </table> <a name="a54" doxytag="seq.h::snd_seq_queue_timer_copy"></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"> void snd_seq_queue_timer_copy </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> * </td> <td class="mdname" nowrap> <em>dst</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> * </td> <td class="mdname" nowrap> <em>src</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> copy one <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> to another <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>dst</em> </td><td> pointer to destination </td></tr> <tr><td valign=top><em>src</em> </td><td> pointer to source </td></tr> </table> </dl> </td> </tr> </table> <a name="a53" doxytag="seq.h::snd_seq_queue_timer_free"></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"> void snd_seq_queue_timer_free </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</em> </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> frees a previously allocated <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>pointer</em> </td><td> to object to free </td></tr> </table> </dl> </td> </tr> </table> <a name="a57" doxytag="seq.h::snd_seq_queue_timer_get_id"></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 <a class="el" href="group___timer.html#a0">snd_timer_id_t</a>* snd_seq_queue_timer_get_id </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the timer id of a queue_timer container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_timer container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> timer id pointer </dl> </td> </tr> </table> <a name="a55" doxytag="seq.h::snd_seq_queue_timer_get_queue"></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"> int snd_seq_queue_timer_get_queue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the queue id of a queue_timer container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_timer container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> queue id </dl> </td> </tr> </table> <a name="a58" doxytag="seq.h::snd_seq_queue_timer_get_resolution"></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"> unsigned int snd_seq_queue_timer_get_resolution </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the timer resolution of a queue_timer container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_timer container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> timer resolution </dl> </td> </tr> </table> <a name="a56" doxytag="seq.h::snd_seq_queue_timer_get_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"> <a class="el" href="group___seq_queue.html#a69">snd_seq_queue_timer_type_t</a> snd_seq_queue_timer_get_type </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </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> Get the timer type of a queue_timer container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_timer container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> timer type </dl> </td> </tr> </table> <a name="a52" doxytag="seq.h::snd_seq_queue_timer_malloc"></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"> int snd_seq_queue_timer_malloc </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> ** </td> <td class="mdname1" valign="top" nowrap> <em>ptr</em> </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> allocate an empty <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> using standard malloc <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>ptr</em> </td><td> returned pointer </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise negative error code </dl> </td> </tr> </table> <a name="a60" doxytag="seq.h::snd_seq_queue_timer_set_id"></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"> void snd_seq_queue_timer_set_id </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group___timer.html#a0">snd_timer_id_t</a> * </td> <td class="mdname" nowrap> <em>id</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the timer id of a queue_timer container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_timer container </td></tr> <tr><td valign=top><em>id</em> </td><td> timer id pointer </td></tr> </table> </dl> </td> </tr> </table> <a name="a61" doxytag="seq.h::snd_seq_queue_timer_set_resolution"></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"> void snd_seq_queue_timer_set_resolution </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned int </td> <td class="mdname" nowrap> <em>resolution</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the timer resolution of a queue_timer container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_timer container </td></tr> <tr><td valign=top><em>resolution</em> </td><td> timer resolution </td></tr> </table> </dl> </td> </tr> </table> <a name="a59" doxytag="seq.h::snd_seq_queue_timer_set_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"> void snd_seq_queue_timer_set_type </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___seq_queue.html#a69">snd_seq_queue_timer_type_t</a> </td> <td class="mdname" nowrap> <em>type</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the timer type of a queue_timer container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> queue_timer container </td></tr> <tr><td valign=top><em>type</em> </td><td> timer type </td></tr> </table> </dl> </td> </tr> </table> <a name="a51" doxytag="seq.h::snd_seq_queue_timer_sizeof"></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"> size_t snd_seq_queue_timer_sizeof </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </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> get size of <a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> <p> <dl compact><dt><b>Returns: </b></dt><dd> size in bytes </dl> </td> </tr> </table> <a name="a22" doxytag="seq.h::snd_seq_set_queue_info"></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"> int snd_seq_set_queue_info </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>q</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___seq_queue.html#a0">snd_seq_queue_info_t</a> * </td> <td class="mdname" nowrap> <em>info</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> change the queue attributes <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>q</em> </td><td> queue id to change </td></tr> <tr><td valign=top><em>info</em> </td><td> information changed </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise a negative error code </dl> </td> </tr> </table> <a name="a50" doxytag="seq.h::snd_seq_set_queue_tempo"></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"> int snd_seq_set_queue_tempo </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>q</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___seq_queue.html#a2">snd_seq_queue_tempo_t</a> * </td> <td class="mdname" nowrap> <em>tempo</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> set the tempo of the queue <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>q</em> </td><td> queue id to change the tempo </td></tr> <tr><td valign=top><em>tempo</em> </td><td> tempo information </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise a negative error code </dl> </td> </tr> </table> <a name="a63" doxytag="seq.h::snd_seq_set_queue_timer"></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"> int snd_seq_set_queue_timer </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>q</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___seq_queue.html#a3">snd_seq_queue_timer_t</a> * </td> <td class="mdname" nowrap> <em>timer</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> set the queue timer information <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>q</em> </td><td> queue id to change the timer </td></tr> <tr><td valign=top><em>timer</em> </td><td> timer information </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise a negative error code </dl> </td> </tr> </table> <a name="a25" doxytag="seq.h::snd_seq_set_queue_usage"></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"> int snd_seq_set_queue_usage </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>q</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>used</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the queue usage flag to the client. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>q</em> </td><td> queue id </td></tr> <tr><td valign=top><em>client</em> </td><td> client id </td></tr> <tr><td valign=top><em>used</em> </td><td> non-zero if the client is allowed </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise a negative error code </dl> </td> </tr> </table> <hr><address style="align: right;"><small>Generated on Thu Feb 20 16:45:51 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>