| 1 |
/* |
| 2 |
* A collection of LAME Error Codes |
| 3 |
* |
| 4 |
* Please use the constants defined here instead of some arbitrary |
| 5 |
* values. Currently the values starting at -10 to avoid intersection |
| 6 |
* with the -1, -2, -3 and -4 used in the current code. |
| 7 |
* |
| 8 |
* May be this should be a part of the include/lame.h. |
| 9 |
*/ |
| 10 |
|
| 11 |
typedef enum { |
| 12 |
LAME_OKAY = 0, |
| 13 |
LAME_NOERROR = 0, |
| 14 |
LAME_GENERICERROR = -1, |
| 15 |
LAME_NOMEM = -10, |
| 16 |
LAME_BADBITRATE = -11, |
| 17 |
LAME_BADSAMPFREQ = -12, |
| 18 |
LAME_INTERNALERROR = -13, |
| 19 |
|
| 20 |
FRONTEND_READERROR = -80, |
| 21 |
FRONTEND_WRITEERROR = -81, |
| 22 |
FRONTEND_FILETOOLARGE = -82, |
| 23 |
|
| 24 |
} lame_errorcodes_t; |
| 25 |
|
| 26 |
/* end of lameerror.h */ |