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-2001 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@tns.net
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    AFLIB_DATA_32S
00041 };
00042 
00043 enum aflib_data_endian
00044 {
00045    AFLIB_ENDIAN_UNDEFINED,
00046    AFLIB_ENDIAN_LITTLE,
00047    AFLIB_ENDIAN_BIG
00048 };
00049 
00050 enum aflib_data_orientation
00051 {
00052    AFLIB_ORIENTATION_UNDEFINED,
00053    AFLIB_SEQUENTIAL,
00054    AFLIB_INTERLEAVE
00055 };
00056 
00057 enum aflibStatus
00058 {
00059    AFLIB_SUCCESS = 0,
00060    AFLIB_ERROR_OPEN = 1,
00061    AFLIB_ERROR_UNSUPPORTED = 2,
00062    AFLIB_ERROR_INITIALIZATION_FAILURE = 3,
00063    AFLIB_NOT_FOUND = 4,
00064    AFLIB_END_OF_FILE = 5,
00065    AFLIB_NO_DATA = 6
00066 };
00067 
00068 // Currently supported types
00069 enum aflibFileType
00070 {
00071    AFLIB_AUTO_TYPE,
00072    AFLIB_DEV_TYPE,
00073    AFLIB_MPEG_TYPE,
00074    AFLIB_WAV_TYPE,
00075    AFLIB_AU_TYPE
00076 };
00077 
00078 enum aflibUndoRedo
00079 {
00080    AFLIB_UNDO_MODE,
00081    AFLIB_REDO_MODE,
00082    AFLIB_NONE_MODE
00083 };
00084 
00085 
00086 
00087 #endif
00088 

Generated at Tue Aug 7 22:18:05 2001 for Open Source Audio Library Project by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001