Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

aflib.h

Go to the documentation of this file.
00001 /*
00002  * Copyright: (C) 1999-2000 Bruce W. Forsberg
00003  *
00004  *   This library is free software; you can redistribute it and/or
00005  *   modify it under the terms of the GNU Lesser General Public
00006  *   License as published by the Free Software Foundation; either
00007  *   version 2.1 of the License, or any later version.
00008  *
00009  *   This library is distributed in the hope that it will be useful,
00010  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  *   Lesser General Public License for more details. 
00013  *
00014  *   You should have received a copy of the GNU Lesser General Public
00015  *   License along with this library; if not, write to the Free Software
00016  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00017  *
00018  *   Bruce Forsberg  forsberg@adnc.com
00019  *
00020  */
00021 
00022 // aflib
00023 // This file contains all of the common definitions used throughout the
00024 // library.
00025 
00026 #ifndef _AFLIB_H
00027 #define _AFLIB_H
00028 
00029 #define FALSE 0
00030 #define TRUE  1
00031 
00032 
00033 enum aflib_data_size
00034 {
00035    AFLIB_SIZE_UNDEFINED,
00036    AFLIB_DATA_8S,
00037    AFLIB_DATA_8U,
00038    AFLIB_DATA_16S,
00039    AFLIB_DATA_16U
00040 };
00041 
00042 enum aflib_data_endian
00043 {
00044    AFLIB_ENDIAN_UNDEFINED,
00045    AFLIB_ENDIAN_LITTLE,
00046    AFLIB_ENDIAN_BIG
00047 };
00048 
00049 enum aflib_data_orientation
00050 {
00051    AFLIB_ORIENTATION_UNDEFINED,
00052    AFLIB_SEQUENTIAL,
00053    AFLIB_INTERLEAVE
00054 };
00055 
00056 enum aflibStatus
00057 {
00058    AFLIB_SUCCESS = 0,
00059    AFLIB_ERROR_OPEN = 1,
00060    AFLIB_ERROR_UNSUPPORTED = 2,
00061    AFLIB_ERROR_INITIALIZATION_FAILURE = 3,
00062    AFLIB_NOT_FOUND = 4,
00063    AFLIB_END_OF_FILE = 5,
00064    AFLIB_NO_DATA = 6
00065 };
00066 
00067 // Currently supported types
00068 enum aflibFileType
00069 {
00070    AFLIB_AUTO_TYPE,
00071    AFLIB_DEV_TYPE,
00072    AFLIB_MPEG_TYPE,
00073    AFLIB_WAV_TYPE,
00074    AFLIB_AU_TYPE
00075 };
00076 
00077 enum aflibUndoRedo
00078 {
00079    AFLIB_UNDO_MODE,
00080    AFLIB_REDO_MODE,
00081    AFLIB_NONE_MODE
00082 };
00083 
00084 
00085 
00086 #endif
00087 

Generated at Sun May 13 16:18:53 2001 for Open Source Audio Library Project by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001