X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=error.h;h=17f3703f41d20217540463f9fea64fa75b159cd2;hb=1c4fca3000b98973a433bfd80290d159fd6696a7;hp=c3ac3dca43bb7563e00c2aa62ba75c6f62179a19;hpb=625c5cd993d07a63061a0788f174e12fa1c221e0;p=paraslash.git diff --git a/error.h b/error.h index c3ac3dca..17f3703f 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"), \ @@ -344,6 +347,7 @@ extern const char **para_errlist[]; #define VSS_ERRORS \ PARA_ERROR(NOFD, "did not receive open fd from afs"), \ + PARA_ERROR(BAD_CT, "invalid chunk table or bad FEC configuration") #define CRYPT_ERRORS \ @@ -389,7 +393,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"), \