lameerror.h

Go to the documentation of this file.
00001 /*
00002  *  A collection of LAME Error Codes
00003  *
00004  *  Please use the constants defined here instead of some arbitrary
00005  *  values. Currently the values starting at -10 to avoid intersection
00006  *  with the -1, -2, -3 and -4 used in the current code.
00007  *
00008  *  May be this should be a part of the include/lame.h.
00009  */
00010 
00011 typedef enum {
00012     LAME_OKAY = 0,
00013     LAME_NOERROR = 0,
00014     LAME_GENERICERROR = -1,
00015     LAME_NOMEM = -10,
00016     LAME_BADBITRATE = -11,
00017     LAME_BADSAMPFREQ = -12,
00018     LAME_INTERNALERROR = -13,
00019 
00020     FRONTEND_READERROR = -80,
00021     FRONTEND_WRITEERROR = -81,
00022     FRONTEND_FILETOOLARGE = -82,
00023 
00024 } lame_errorcodes_t;
00025 
00026 /* end of lameerror.h */

Generated on Sun Dec 2 11:34:19 2007 for LAME by  doxygen 1.5.2