X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=94a412020119947db3fa3ec77aae293438ec4208;hp=c3ac3dca43bb7563e00c2aa62ba75c6f62179a19;hb=74361f472d6d1a75a313cb3a6b4528cfeacfff0a;hpb=7565af270650435630bf212592286a8c6555d749 diff --git a/error.h b/error.h index c3ac3dca..94a41202 100644 --- a/error.h +++ b/error.h @@ -13,7 +13,6 @@ DEFINE_ERRLIST_OBJECT_ENUM; /* these do not need error handling (yet) */ #define SERVER_ERRORS -#define WAV_FILTER_ERRORS #define TIME_ERRORS #define CLOSE_ON_FORK_ERRORS #define DAEMON_ERRORS @@ -37,6 +36,10 @@ extern const char **para_errlist[]; PARA_ERROR(COMPRESS_SYNTAX, "syntax error in compress filter config"), \ +#define WAV_FILTER_ERRORS \ + PARA_ERROR(WAV_BAD_FC, "invalid filter chain configuration"), \ + + #define FEC_ERRORS \ PARA_ERROR(FEC_BAD_IDX, "invalid index vector"), \ PARA_ERROR(FEC_SINGULAR, "unexpected singular matrix"), \ @@ -46,7 +49,7 @@ extern const char **para_errlist[]; #define FECDEC_FILTER_ERRORS \ PARA_ERROR(BAD_FEC_HEADER, "invalid fec header"), \ - PARA_ERROR(BAD_SLICE_SIZE, "slice size too large"), \ + PARA_ERROR(BAD_SLICE_SIZE, "slice size zero or too large"), \ PARA_ERROR(BAD_SLICE_NUM, "invalid slice number"), \ PARA_ERROR(FECDEC_OVERRUN, "fecdec output buffer overrun"), \ PARA_ERROR(FECDEC_EOF, "received eof packet"), \ @@ -389,7 +392,6 @@ extern const char **para_errlist[]; PARA_ERROR(SAMPLE_FORMAT, "sample format not available"), \ PARA_ERROR(CHANNEL_COUNT, "channels count not available"), \ PARA_ERROR(HW_PARAMS, "unable to install hw params"), \ - PARA_ERROR(SW_PARAMS, "unable to install sw params"), \ PARA_ERROR(BAD_PERIOD, "can not use period equal to buffer size"), \ PARA_ERROR(ALSA_WRITE, "alsa write error"), \ PARA_ERROR(PCM_OPEN, "unable to open pcm"), \