X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=3f5ff73be3b1b5b8314b836c794b7a62b8740e91;hp=c3cde04c4902ce94c816a43bce5f572b4330f436;hb=c41a04fb296e068ebfec78bba9678bf15daea896;hpb=e0b60e3bb1ac537c1f7c037aac8b4b7afbdcb0dc diff --git a/error.h b/error.h index c3cde04c..3f5ff73b 100644 --- a/error.h +++ b/error.h @@ -104,6 +104,18 @@ extern const char **para_errlist[]; PARA_ERROR(BAD_SAMPLERATE, "sample rate not supported"), \ +#define AO_WRITE_ERRORS \ + PARA_ERROR(AO_DEFAULT_DRIVER, "ao: no usable output device"), \ + PARA_ERROR(AO_BAD_DRIVER, "ao: invalid driver"), \ + PARA_ERROR(AO_BAD_OPTION, "ao option is not of type key:value"), \ + PARA_ERROR(AO_APPEND_OPTION, "ao append option: memory allocation failure"), \ + PARA_ERROR(AO_OPEN_LIVE, "ao: could not open audio device"), \ + PARA_ERROR(AO_FILE_NOT_SUPP, "ao: file io drivers not supported"), \ + PARA_ERROR(AO_PLAY, "ao_play() failed"), \ + PARA_ERROR(AO_BAD_SAMPLE_FORMAT, "ao: unsigned sample formats not supported"), \ + PARA_ERROR(AO_PTHREAD, "pthread error"), \ + + #define COMPRESS_FILTER_ERRORS \ PARA_ERROR(COMPRESS_SYNTAX, "syntax error in compress filter config"), \ PARA_ERROR(COMPRESS_EOF, "compress: end of file"), \