<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>seq_midi_event.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.18 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindex" href="examples.html">Examples</a> </center> <hr><h1>seq_midi_event.h</h1><div class="fragment"><pre>00001 00028 <span class="preprocessor">#ifndef __ALSA_SEQ_MIDI_EVENT_H</span> 00029 <span class="preprocessor"></span><span class="preprocessor">#define __ALSA_SEQ_MIDI_EVENT_H</span> 00030 <span class="preprocessor"></span> 00031 <span class="preprocessor">#ifdef __cplusplus</span> 00032 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> { 00033 <span class="preprocessor">#endif</span> 00034 <span class="preprocessor"></span> <a name="l00043"></a><a class="code" href="group___m_i_d_i___event.html#a0">00043</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>snd_midi_event <a class="code" href="group___m_i_d_i___event.html#a0">snd_midi_event_t</a>; 00044 00045 <span class="keywordtype">int</span> <a class="code" href="seq__midi__event_8c.html#a14">snd_midi_event_new</a>(size_t bufsize, <a class="code" href="group___m_i_d_i___event.html#a0">snd_midi_event_t</a> **rdev); 00046 <span class="keywordtype">int</span> <a class="code" href="seq__midi__event_8c.html#a21">snd_midi_event_resize_buffer</a>(<a class="code" href="group___m_i_d_i___event.html#a0">snd_midi_event_t</a> *dev, size_t bufsize); 00047 <span class="keywordtype">void</span> <a class="code" href="seq__midi__event_8c.html#a15">snd_midi_event_free</a>(<a class="code" href="group___m_i_d_i___event.html#a0">snd_midi_event_t</a> *dev); 00048 <span class="keywordtype">void</span> <a class="code" href="seq__midi__event_8c.html#a20">snd_midi_event_init</a>(<a class="code" href="group___m_i_d_i___event.html#a0">snd_midi_event_t</a> *dev); 00049 <span class="keywordtype">void</span> <a class="code" href="seq__midi__event_8c.html#a18">snd_midi_event_reset_encode</a>(<a class="code" href="group___m_i_d_i___event.html#a0">snd_midi_event_t</a> *dev); 00050 <span class="keywordtype">void</span> <a class="code" href="seq__midi__event_8c.html#a19">snd_midi_event_reset_decode</a>(<a class="code" href="group___m_i_d_i___event.html#a0">snd_midi_event_t</a> *dev); 00051 <span class="keywordtype">void</span> <a class="code" href="seq__midi__event_8c.html#a16">snd_midi_event_no_status</a>(<a class="code" href="group___m_i_d_i___event.html#a0">snd_midi_event_t</a> *dev, <span class="keywordtype">int</span> on); 00052 <span class="comment">/* encode from byte stream - return number of written bytes if success */</span> 00053 <span class="keywordtype">long</span> <a class="code" href="seq__midi__event_8c.html#a22">snd_midi_event_encode</a>(<a class="code" href="group___m_i_d_i___event.html#a0">snd_midi_event_t</a> *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *buf, <span class="keywordtype">long</span> count, <a class="code" href="structsnd__seq__event.html">snd_seq_event_t</a> *ev); 00054 <span class="keywordtype">int</span> <a class="code" href="seq__midi__event_8c.html#a23">snd_midi_event_encode_byte</a>(<a class="code" href="group___m_i_d_i___event.html#a0">snd_midi_event_t</a> *dev, <span class="keywordtype">int</span> c, <a class="code" href="structsnd__seq__event.html">snd_seq_event_t</a> *ev); 00055 <span class="comment">/* decode from event to bytes - return number of written bytes if success */</span> 00056 <span class="keywordtype">long</span> <a class="code" href="seq__midi__event_8c.html#a24">snd_midi_event_decode</a>(<a class="code" href="group___m_i_d_i___event.html#a0">snd_midi_event_t</a> *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *buf, <span class="keywordtype">long</span> count, <a class="code" href="structsnd__seq__event.html">snd_seq_event_t</a> *ev); 00057 00060 <span class="preprocessor">#ifdef __cplusplus</span> 00061 <span class="preprocessor"></span>} 00062 <span class="preprocessor">#endif</span> 00063 <span class="preprocessor"></span> 00064 <span class="preprocessor">#endif </span><span class="comment">/* __ALSA_SEQ_MIDI_EVENT_H */</span> 00065 </pre></div><hr><address style="align: right;"><small>Generated on Wed Apr 2 16:06:33 2003 for ALSA project - the C library reference by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address> </body> </html>