lameerror.h 637 B

1234567891011121314151617181920212223242526
  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. typedef enum {
  11. LAME_OKAY = 0,
  12. LAME_NOERROR = 0,
  13. LAME_GENERICERROR = -1,
  14. LAME_NOMEM = -10,
  15. LAME_BADBITRATE = -11,
  16. LAME_BADSAMPFREQ = -12,
  17. LAME_INTERNALERROR = -13,
  18. FRONTEND_READERROR = -80,
  19. FRONTEND_WRITEERROR = -81,
  20. FRONTEND_FILETOOLARGE = -82,
  21. } lame_errorcodes_t;
  22. /* end of lameerror.h */