X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=error.h;h=b8b0074caf536902f05768b3cfae1fc14784c18b;hb=99bb7973ee352af158ac90416017e154b6d341bd;hp=fdd2d3b7b9b6b06f8e7ba0d6a457dc249c314b3e;hpb=65a0002eb560b7248cbb0b4f143d00053b66bccc;p=paraslash.git diff --git a/error.h b/error.h index fdd2d3b7..b8b0074c 100644 --- a/error.h +++ b/error.h @@ -105,6 +105,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"), \