X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=a99512fdb73816d22370f60f19501a884c5df3cf;hp=512dcc9f787561384f2c700181e25bdfd068af03;hb=6b2414cd3ea3437ffb39d25ddc60eeecf3194ebc;hpb=ef81b9f4f0fa6a26043c68d429c0deeb7c949351 diff --git a/error.h b/error.h index 512dcc9f..a99512fd 100644 --- a/error.h +++ b/error.h @@ -31,12 +31,42 @@ DEFINE_ERRLIST_OBJECT_ENUM; #define COLOR_ERRORS #define SIGNAL_ERRORS #define FADE_ERRORS +#define SERVER_COMMAND_LIST_ERRORS +#define AFS_COMMAND_LIST_ERRORS +#define AUDIOD_COMMAND_LIST_ERRORS extern const char **para_errlist[]; +#define WMA_AFH_ERRORS \ + PARA_ERROR(NO_WMA, "asf/wma format not recognized"), \ + + +#define WMA_COMMON_ERRORS \ + PARA_ERROR(WMA_NO_GUID, "audio stream guid not found"), \ + PARA_ERROR(WMA_BAD_ASF_HEADER, "invalid asf header"), \ + + +#define WMADEC_FILTER_ERRORS \ + PARA_ERROR(WMA_BAD_PARAMS, "invalid WMA parameters"), \ + PARA_ERROR(WMA_OUTPUT_SPACE, "insufficient output space"), \ + PARA_ERROR(WMA_BAD_SUPERFRAME, "invalid superframe"), \ + PARA_ERROR(WMA_DECODE, "wma decode error"), \ + PARA_ERROR(INCOHERENT_BLOCK_LEN, "incoherent block length"), \ + + +#define BITSTREAM_ERRORS \ + PARA_ERROR(TABLE_ALLOC, "failed to allocate table"), \ + PARA_ERROR(BAD_CODES, "detected incorrect codes") + + +#define IMDCT_ERRORS \ + PARA_ERROR(FFT_BAD_PARAMS, "invalid params for fft"), \ + + #define PREBUFFER_FILTER_ERRORS \ PARA_ERROR(PREBUFFER_SYNTAX, "syntax error in prebuffer filter config"), \ + #define OSS_WRITE_ERRORS \ PARA_ERROR(BAD_SAMPLE_FORMAT, "sample format not supported"), \ PARA_ERROR(BAD_CHANNEL_COUNT, "channel count not supported"), \