📄 aflib_8h-source.html
字号:
<!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>aflib.h Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.15 --><center><a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center><hr><h1>aflib.h</h1><a href="aflib_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>00002 <font class="comment"> * Copyright: (C) 1999-2001 Bruce W. Forsberg</font>00003 <font class="comment"> *</font>00004 <font class="comment"> * This library is free software; you can redistribute it and/or</font>00005 <font class="comment"> * modify it under the terms of the GNU Lesser General Public</font>00006 <font class="comment"> * License as published by the Free Software Foundation; either</font>00007 <font class="comment"> * version 2.1 of the License, or any later version.</font>00008 <font class="comment"> *</font>00009 <font class="comment"> * This library is distributed in the hope that it will be useful,</font>00010 <font class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</font>00011 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font>00012 <font class="comment"> * Lesser General Public License for more details. </font>00013 <font class="comment"> *</font>00014 <font class="comment"> * You should have received a copy of the GNU Lesser General Public</font>00015 <font class="comment"> * License along with this library; if not, write to the Free Software</font>00016 <font class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</font>00017 <font class="comment"> *</font>00018 <font class="comment"> * Bruce Forsberg forsberg@tns.net</font>00019 <font class="comment"> *</font>00020 <font class="comment"> */</font>00021 00022 <font class="comment">// aflib</font>00023 <font class="comment">// This file contains all of the common definitions used throughout the</font>00024 <font class="comment">// library.</font>00025 00026 <font class="preprocessor">#ifndef _AFLIB_H</font>00027 <font class="preprocessor"></font><font class="preprocessor">#define _AFLIB_H</font>00028 <font class="preprocessor"></font>00029 <font class="preprocessor">#ifdef HAVE_CONFIG_H</font>00030 <font class="preprocessor"></font><font class="preprocessor">#include <config.h></font>00031 <font class="preprocessor">#endif</font>00032 <font class="preprocessor"></font><a name="l00033"></a><a class="code" href="aflib_8h.html#a0">00033</a> <font class="preprocessor">#define FALSE 0</font><a name="l00034"></a><a class="code" href="aflib_8h.html#a1">00034</a> <font class="preprocessor"></font><font class="preprocessor">#define TRUE 1</font>00035 <font class="preprocessor"></font>00036 <a name="l00037"></a><a class="code" href="aflib_8h.html#a30">00037</a> <font class="keyword">enum</font> <a class="code" href="aflib_8h.html#a30">aflib_data_size</a>00038 {00039 <a class="code" href="aflib_8h.html#a30a2">AFLIB_SIZE_UNDEFINED</a>,00040 <a class="code" href="aflib_8h.html#a30a3">AFLIB_DATA_8S</a>,00041 <a class="code" href="aflib_8h.html#a30a4">AFLIB_DATA_8U</a>,00042 <a class="code" href="aflib_8h.html#a30a5">AFLIB_DATA_16S</a>,00043 <a class="code" href="aflib_8h.html#a30a6">AFLIB_DATA_16U</a>,00044 <a class="code" href="aflib_8h.html#a30a7">AFLIB_DATA_32S</a>00045 };00046 <a name="l00047"></a><a class="code" href="aflib_8h.html#a31">00047</a> <font class="keyword">enum</font> <a class="code" href="aflib_8h.html#a31">aflib_data_endian</a>00048 {00049 <a class="code" href="aflib_8h.html#a31a8">AFLIB_ENDIAN_UNDEFINED</a>,00050 <a class="code" href="aflib_8h.html#a31a9">AFLIB_ENDIAN_LITTLE</a>,00051 <a class="code" href="aflib_8h.html#a31a10">AFLIB_ENDIAN_BIG</a>00052 };00053 <a name="l00054"></a><a class="code" href="aflib_8h.html#a32">00054</a> <font class="keyword">enum</font> <a class="code" href="aflib_8h.html#a32">aflib_data_orientation</a>00055 {00056 <a class="code" href="aflib_8h.html#a32a11">AFLIB_ORIENTATION_UNDEFINED</a>,00057 <a class="code" href="aflib_8h.html#a32a12">AFLIB_SEQUENTIAL</a>,00058 <a class="code" href="aflib_8h.html#a32a13">AFLIB_INTERLEAVE</a>00059 };00060 <a name="l00061"></a><a class="code" href="aflib_8h.html#a33">00061</a> <font class="keyword">enum</font> <a class="code" href="aflib_8h.html#a33">aflibStatus</a>00062 {00063 <a class="code" href="aflib_8h.html#a33a14">AFLIB_SUCCESS</a> = 0,00064 <a class="code" href="aflib_8h.html#a33a15">AFLIB_ERROR_OPEN</a> = 1,00065 <a class="code" href="aflib_8h.html#a33a16">AFLIB_ERROR_UNSUPPORTED</a> = 2,00066 <a class="code" href="aflib_8h.html#a33a17">AFLIB_ERROR_INITIALIZATION_FAILURE</a> = 3,00067 <a class="code" href="aflib_8h.html#a33a18">AFLIB_NOT_FOUND</a> = 4,00068 <a class="code" href="aflib_8h.html#a33a19">AFLIB_END_OF_FILE</a> = 5,00069 <a class="code" href="aflib_8h.html#a33a20">AFLIB_NO_DATA</a> = 6,00070 <a class="code" href="aflib_8h.html#a33a21">AFLIB_CANT_AUTO_TYPE</a> = 700071 };00072 00073 <font class="comment">// Currently supported types</font><a name="l00074"></a><a class="code" href="aflib_8h.html#a34">00074</a> <font class="keyword">enum</font> <a class="code" href="aflib_8h.html#a34">aflibFileType</a>00075 {00076 <a class="code" href="aflib_8h.html#a34a22">AFLIB_AUTO_TYPE</a>,00077 <a class="code" href="aflib_8h.html#a34a23">AFLIB_DEV_TYPE</a>,00078 <a class="code" href="aflib_8h.html#a34a24">AFLIB_MPEG_TYPE</a>,00079 <a class="code" href="aflib_8h.html#a34a25">AFLIB_WAV_TYPE</a>,00080 <a class="code" href="aflib_8h.html#a34a26">AFLIB_AU_TYPE</a>00081 };00082 <a name="l00083"></a><a class="code" href="aflib_8h.html#a35">00083</a> <font class="keyword">enum</font> <a class="code" href="aflib_8h.html#a35">aflibUndoRedo</a>00084 {00085 <a class="code" href="aflib_8h.html#a35a27">AFLIB_UNDO_MODE</a>,00086 <a class="code" href="aflib_8h.html#a35a28">AFLIB_REDO_MODE</a>,00087 <a class="code" href="aflib_8h.html#a35a29">AFLIB_NONE_MODE</a>00088 };00089 00090 00091 00092 <font class="preprocessor">#endif</font>00093 <font class="preprocessor"></font></pre></div><hr><address align="right"><small>Generated on Wed May 8 20:51:04 2002 for Open Source Audio Library Project 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.15 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -