<!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>transport.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="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> </center> <hr><h1>transport.h</h1><a href="transport_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span> 00002 <span class="comment"> Copyright (C) 2002 Paul Davis</span> 00003 <span class="comment"> </span> 00004 <span class="comment"> This program is free software; you can redistribute it and/or modify</span> 00005 <span class="comment"> it under the terms of the GNU Lesser General Public License as published by</span> 00006 <span class="comment"> the Free Software Foundation; either version 2.1 of the License, or</span> 00007 <span class="comment"> (at your option) any later version.</span> 00008 <span class="comment"> </span> 00009 <span class="comment"> This program is distributed in the hope that it will be useful,</span> 00010 <span class="comment"> but WITHOUT ANY WARRANTY; without even the implied warranty of</span> 00011 <span class="comment"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> 00012 <span class="comment"> GNU Lesser General Public License for more details.</span> 00013 <span class="comment"> </span> 00014 <span class="comment"> You should have received a copy of the GNU Lesser General Public License</span> 00015 <span class="comment"> along with this program; if not, write to the Free Software </span> 00016 <span class="comment"> Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</span> 00017 <span class="comment"></span> 00018 <span class="comment"> $Id: transport.h,v 1.2 2002/05/12 17:23:03 wingo Exp $</span> 00019 <span class="comment">*/</span> 00020 00021 <span class="preprocessor">#ifndef __jack_transport_h__</span> 00022 <span class="preprocessor"></span><span class="preprocessor">#define __jack_transport_h__</span> 00023 <span class="preprocessor"></span> 00024 <span class="preprocessor">#ifdef __cplusplus</span> 00025 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> { 00026 <span class="preprocessor">#endif</span> 00027 <span class="preprocessor"></span> 00028 <span class="preprocessor">#include <<a class="code" href="types_8h.html">jack/types.h</a>></span> 00029 <a name="l00030"></a><a class="code" href="transport_8h.html#a8">00030</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> { 00031 00032 <a class="code" href="transport_8h.html#a8a0">JackTransportStopped</a>, 00033 <a class="code" href="transport_8h.html#a8a1">JackTransportRolling</a>, 00034 <a class="code" href="transport_8h.html#a8a2">JackTransportLooping</a> 00035 00036 } <a class="code" href="transport_8h.html#a8">jack_transport_state_t</a>; 00037 <a name="l00038"></a><a class="code" href="transport_8h.html#a9">00038</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> { 00039 00040 <a class="code" href="transport_8h.html#a9a3">JackTransportState</a> = 0x1, 00041 <a class="code" href="transport_8h.html#a9a4">JackTransportPosition</a> = 0x2, 00042 <a class="code" href="transport_8h.html#a9a5">JackTransportLoop</a> = 0x4 00043 00044 } <a class="code" href="transport_8h.html#a9">jack_transport_bits_t</a>; 00045 <a name="l00046"></a><a class="code" href="structjack__transport__info__t.html">00046</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ 00047 <a name="l00048"></a><a class="code" href="structjack__transport__info__t.html#m0">00048</a> <a class="code" href="transport_8h.html#a9">jack_transport_bits_t</a> valid; <a name="l00049"></a><a class="code" href="structjack__transport__info__t.html#m1">00049</a> <a class="code" href="transport_8h.html#a8">jack_transport_state_t</a> state; <a name="l00050"></a><a class="code" href="structjack__transport__info__t.html#m2">00050</a> <a class="code" href="types_8h.html#a2">jack_nframes_t</a> position; <a name="l00051"></a><a class="code" href="structjack__transport__info__t.html#m3">00051</a> <a class="code" href="types_8h.html#a2">jack_nframes_t</a> loop_start; <a name="l00052"></a><a class="code" href="structjack__transport__info__t.html#m4">00052</a> <a class="code" href="types_8h.html#a2">jack_nframes_t</a> loop_end; 00053 00054 } <a class="code" href="structjack__transport__info__t.html">jack_transport_info_t</a>; 00055 00056 <span class="keywordtype">int</span> <a class="code" href="transport_8h.html#a6">jack_set_transport_info</a> (<a class="code" href="types_8h.html#a4">jack_client_t</a> *client, 00057 <a class="code" href="structjack__transport__info__t.html">jack_transport_info_t</a> *); 00058 <span class="keywordtype">int</span> <a class="code" href="transport_8h.html#a7">jack_get_transport_info</a> (<a class="code" href="types_8h.html#a4">jack_client_t</a> *client, 00059 <a class="code" href="structjack__transport__info__t.html">jack_transport_info_t</a> *); 00060 00061 <span class="preprocessor">#ifdef __cplusplus</span> 00062 <span class="preprocessor"></span>} 00063 <span class="preprocessor">#endif</span> 00064 <span class="preprocessor"></span> 00065 <span class="preprocessor">#endif </span><span class="comment">/* __jack_transport_h__ */</span> </pre></div><hr><address style="align: right;"><small>Generated on Tue Mar 11 08:52:41 2003 for Jack 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>