+#define OSS_MIX_ERRORS \
+ PARA_ERROR(OSS_MIXER_CHANNEL, "invalid mixer channel"), \
+
+
+#define ALSA_MIX_ERRORS \
+ PARA_ERROR(ALSA_MIX_OPEN, "could not open mixer"), \
+ PARA_ERROR(ALSA_MIX_BAD_ELEM, "invalid/unsupported control element"), \
+ PARA_ERROR(ALSA_MIX_GET_VAL, "could not read control element state"), \
+ PARA_ERROR(ALSA_MIX_SET_VAL, "could not set control element state"), \
+
+
+#define RESAMPLE_FILTER_ERRORS \
+ PARA_ERROR(RESAMPLE_EOF, "resample filter: end of file"), \
+ PARA_ERROR(LIBSAMPLERATE, "secret rabbit code error"), \
+
+
+#define OPUS_COMMON_ERRORS \
+ PARA_ERROR(OPUS_HEADER, "invalid opus header"), \
+
+
+#define OPUS_AFH_ERRORS \
+ PARA_ERROR(OPUS_COMMENT, "invalid or corrupted opus comment"), \
+
+
+#define OPUSDEC_FILTER_ERRORS \
+ PARA_ERROR(CREATE_OPUS_DECODER, "could not create opus decoder"), \
+ PARA_ERROR(OPUS_SET_GAIN, "opus: could not set gain"), \
+ PARA_ERROR(OPUS_DECODE, "opus decode error"), \
+
+#define SIDEBAND_ERRORS \
+ PARA_ERROR(BAD_BAND, "invalid or unexpected band designator"), \
+ PARA_ERROR(SB_PACKET_SIZE, "invalid sideband packet size or protocol error"), \
+
+
+#define PLAY_ERRORS \
+ PARA_ERROR(PLAY_SYNTAX, "para_play: syntax error"), \
+ PARA_ERROR(NO_VALID_FILES, "no valid file found in playlist"), \
+ PARA_ERROR(BAD_PLAY_CMD, "invalid command"), \
+
+
+#define FLACDEC_FILTER_ERRORS \
+ PARA_ERROR(FLACDEC_DECODER_ALLOC, "could not allocate stream decoder"), \
+ PARA_ERROR(FLACDEC_DECODER_INIT, "could not init stream decoder"), \
+ PARA_ERROR(FLACDEC_EOF, "flacdec encountered end of file condition"), \
+
+
+#define FLAC_AFH_ERRORS \
+ PARA_ERROR(FLAC_CHAIN_ALLOC, "could not create metadata chain"), \
+ PARA_ERROR(FLAC_CHAIN_READ, "could not read meta chain"), \
+ PARA_ERROR(FLAC_ITER_ALLOC, "could not allocate meta iterator"), \
+ PARA_ERROR(FLAC_VARBLOCK, "variable blocksize not supported"), \
+ PARA_ERROR(FLAC_AFH_DECODER_ALLOC, "could not allocate stream decoder"), \
+ PARA_ERROR(FLAC_AFH_DECODER_INIT, "could not init stream decoder"), \
+ PARA_ERROR(FLAC_SKIP_META, "could not skip metadata"), \
+ PARA_ERROR(FLAC_DECODE_POS, "could not get decode position"), \
+ PARA_ERROR(FLAC_STREAMINFO, "could not read stream info meta block"), \
+
+
+#define AFH_RECV_ERRORS \
+ PARA_ERROR(AFH_RECV_BAD_FILENAME, "invalid file name"), \
+
+
+#define OGG_AFH_COMMON_ERRORS \
+ PARA_ERROR(STREAM_PACKETOUT, "ogg stream packet-out error (first packet)"), \
+ PARA_ERROR(SYNC_PAGEOUT, "ogg sync page-out error (no ogg file?)"), \
+ PARA_ERROR(STREAM_PAGEIN, "ogg stream page-in error (first page)"), \
+ PARA_ERROR(OGG_SYNC, "internal ogg storage overflow"), \
+ PARA_ERROR(OGG_EMPTY, "no ogg pages found"), \
+
+
+#define SPX_AFH_ERRORS \
+ PARA_ERROR(SPX_COMMENT, "invalid speex comment"), \
+
+
+#define SPX_COMMON_ERRORS \
+ PARA_ERROR(SPX_HEADER, "can not read speex header"), \
+ PARA_ERROR(SPX_HEADER_MODE, "invalid speex mode in header"), \
+ PARA_ERROR(SPX_VERSION, "incompatible speex bit stream version"), \
+ PARA_ERROR(SPX_DECODER_INIT, "speex decoder initialization failed"), \
+ PARA_ERROR(SPX_CTL_BAD_RQ, "speex_decoder_ctl: invalid request"), \
+ PARA_ERROR(SPX_CTL_INVAL, "speex_decoder_ctl: invalid argument"), \
+
+#define SPXDEC_FILTER_ERRORS \
+ PARA_ERROR(SPX_DECODE, "speex decoding error"), \
+ PARA_ERROR(SPX_DECODE_OVERFLOW, "speex decoding overflow"), \
+ PARA_ERROR(SPX_EOS, "speex: end of stream"), \
+
+#define BUFFER_TREE_ERRORS \
+ PARA_ERROR(BTR_EOF, "buffer tree: end of file"), \
+ PARA_ERROR(BTR_NO_CHILD, "btr node has no children"), \
+ PARA_ERROR(BTR_NAVAIL, "btr node: value currently unavailable"), \
+
+
+#define BITSTREAM_ERRORS \
+ PARA_ERROR(VLC, "invalid vlc code"), \
+
+
+#define WMA_AFH_ERRORS \
+ PARA_ERROR(NO_WMA, "asf/wma format not recognized"), \
+
+
+#define WMA_COMMON_ERRORS \
+ PARA_ERROR(WMA_NO_GUID, "audio stream guid not found"), \
+
+
+#define WMADEC_FILTER_ERRORS \
+ PARA_ERROR(WMA_BAD_PARAMS, "invalid WMA parameters"), \
+ PARA_ERROR(WMA_OUTPUT_SPACE, "insufficient output space"), \
+ PARA_ERROR(WMA_BAD_SUPERFRAME, "invalid superframe"), \
+ PARA_ERROR(WMA_BLOCK_SIZE, "invalid block size"), \
+ PARA_ERROR(INCOHERENT_BLOCK_LEN, "incoherent block length"), \
+ PARA_ERROR(WMADEC_EOF, "wmadec: end of file"), \
+
+
+#define IMDCT_ERRORS \
+ PARA_ERROR(FFT_BAD_PARAMS, "invalid params for fft"), \
+
+
+#define PREBUFFER_FILTER_ERRORS \
+ PARA_ERROR(PREBUFFER_SYNTAX, "syntax error in prebuffer filter config"), \
+ PARA_ERROR(PREBUFFER_SUCCESS, "prebuffering complete"), \
+
+
+#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 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_EOF, "compress: end of file"), \
+
+
+#define WAV_FILTER_ERRORS \
+ PARA_ERROR(WAV_BAD_FC, "invalid filter configuration"), \
+ PARA_ERROR(WAV_EOF, "wav filter: end of file"), \
+ PARA_ERROR(WAV_SUCCESS, "successfully wrote wav header"), \
+
+
+#define FEC_ERRORS \
+ PARA_ERROR(FEC_BAD_IDX, "invalid index vector"), \
+ PARA_ERROR(FEC_SINGULAR, "unexpected singular matrix"), \
+ PARA_ERROR(FEC_PIVOT, "pivot column not found"), \
+ PARA_ERROR(FEC_PARMS, "invalid fec parameters"), \
+
+
+#define FECDEC_FILTER_ERRORS \
+ PARA_ERROR(BAD_FEC_HEADER, "invalid fec header"), \
+ 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"), \
+
+
+#define AMP_FILTER_ERRORS \
+ PARA_ERROR(AMP_SYNTAX, "syntax error in amp filter config"), \
+ PARA_ERROR(AMP_ZERO_AMP, "no amplification necessary"), \
+ PARA_ERROR(AMP_EOF, "amp: end of file"), \
+
+
+#define SEND_COMMON_ERRORS \
+ PARA_ERROR(MAX_CLIENTS, "maximal number of clients exceeded"), \
+
+