X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=c53ab89a3b15192285de2f13048c4340c1fcd070;hp=555ca15f0c6e79307f7dafe397c8222630592764;hb=20ad4f0f93da79e2ec0a9699dff58b9922556438;hpb=318fbe90e08b6d9c5e781d9b517b670c5a1a04d7 diff --git a/error.h b/error.h index 555ca15f..c53ab89a 100644 --- a/error.h +++ b/error.h @@ -34,6 +34,15 @@ DEFINE_ERRLIST_OBJECT_ENUM; extern const char **para_errlist[]; +#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"), \ + PARA_ERROR(BAD_SAMPLERATE, "sample rate not supported"), \ + + #define COMPRESS_FILTER_ERRORS \ PARA_ERROR(COMPRESS_SYNTAX, "syntax error in compress filter config"), \