<!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>types.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>types.h</h1><a href="types_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) 2001 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: types.h,v 1.11 2003/02/06 01:31:36 trutkin Exp $</span> 00019 <span class="comment">*/</span> 00020 00021 <span class="preprocessor">#ifndef __jack_types_h__</span> 00022 <span class="preprocessor"></span><span class="preprocessor">#define __jack_types_h__</span> 00023 <span class="preprocessor"></span> 00024 <span class="preprocessor">#include <limits.h></span> <span class="comment">/* ULONG_MAX */</span> 00025 <a name="l00029"></a><a class="code" href="types_8h.html#a2">00029</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="types_8h.html#a2">jack_nframes_t</a>; 00030 <a name="l00034"></a><a class="code" href="types_8h.html#a0">00034</a> <span class="preprocessor">#define JACK_MAX_FRAMES ULONG_MAX;</span> 00035 <span class="preprocessor"></span> <a name="l00039"></a><a class="code" href="types_8h.html#a3">00039</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>_jack_port <a class="code" href="types_8h.html#a3">jack_port_t</a>; 00040 <a name="l00044"></a><a class="code" href="types_8h.html#a4">00044</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>_jack_client <a class="code" href="types_8h.html#a4">jack_client_t</a>; 00045 <a name="l00050"></a><a class="code" href="types_8h.html#a5">00050</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="types_8h.html#a5">jack_port_id_t</a>; 00051 <a name="l00064"></a><a class="code" href="types_8h.html#a6">00064</a> <span class="keyword">typedef</span> int (*<a class="code" href="types_8h.html#a6">JackProcessCallback</a>)(<a class="code" href="types_8h.html#a2">jack_nframes_t</a> nframes, <span class="keywordtype">void</span> *arg); 00065 <a name="l00074"></a><a class="code" href="types_8h.html#a7">00074</a> <span class="keyword">typedef</span> int (*<a class="code" href="types_8h.html#a7">JackGraphOrderCallback</a>)(<span class="keywordtype">void</span> *arg); 00075 <a name="l00084"></a><a class="code" href="types_8h.html#a8">00084</a> <span class="keyword">typedef</span> int (*<a class="code" href="types_8h.html#a8">JackXRunCallback</a>)(<span class="keywordtype">void</span> *arg); 00085 <a name="l00097"></a><a class="code" href="types_8h.html#a9">00097</a> <span class="keyword">typedef</span> int (*<a class="code" href="types_8h.html#a9">JackBufferSizeCallback</a>)(<a class="code" href="types_8h.html#a2">jack_nframes_t</a> nframes, <span class="keywordtype">void</span> *arg); 00098 <a name="l00108"></a><a class="code" href="types_8h.html#a10">00108</a> <span class="keyword">typedef</span> int (*<a class="code" href="types_8h.html#a10">JackSampleRateCallback</a>)(<a class="code" href="types_8h.html#a2">jack_nframes_t</a> nframes, <span class="keywordtype">void</span> *arg); 00109 <a name="l00116"></a><a class="code" href="types_8h.html#a11">00116</a> <span class="keyword">typedef</span> void (*<a class="code" href="types_8h.html#a11">JackPortRegistrationCallback</a>)(<a class="code" href="types_8h.html#a5">jack_port_id_t</a> port, <span class="keywordtype">int</span>, <span class="keywordtype">void</span> *arg); 00117 <a name="l00121"></a><a class="code" href="types_8h.html#a1">00121</a> <span class="preprocessor">#define JACK_DEFAULT_AUDIO_TYPE "32 bit float mono audio"</span> 00122 <span class="preprocessor"></span> <a name="l00128"></a><a class="code" href="types_8h.html#a12">00128</a> <span class="keyword">typedef</span> <span class="keywordtype">float</span> <a class="code" href="types_8h.html#a12">jack_default_audio_sample_t</a>; 00129 <a name="l00136"></a><a class="code" href="types_8h.html#a18">00136</a> <span class="keyword">enum</span> <a class="code" href="types_8h.html#a18">JackPortFlags</a> { 00137 00142 <a class="code" href="types_8h.html#a18a13">JackPortIsInput</a> = 0x1, 00143 00148 <a class="code" href="types_8h.html#a18a14">JackPortIsOutput</a> = 0x2, 00149 00154 <a class="code" href="types_8h.html#a18a15">JackPortIsPhysical</a> = 0x4, 00155 00169 <a class="code" href="types_8h.html#a18a16">JackPortCanMonitor</a> = 0x8, 00170 00185 <a class="code" href="types_8h.html#a18a17">JackPortIsTerminal</a> = 0x10 00186 }; 00187 00188 <span class="preprocessor">#endif </span><span class="comment">/* __jack_types_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>