]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - error.h
The opus audio format handler.
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index 5307774b3d917d25642bb3ac11a5bb1323228599..55089c46a2227cbee51c75222284fccc5b9c1b62 100644 (file)
--- a/error.h
+++ b/error.h
@@ -35,14 +35,13 @@ DEFINE_ERRLIST_OBJECT_ENUM;
 #define WRITE_ERRORS
 #define CHECK_WAV_ERRORS
 #define OPUSDEC_FILTER_ERRORS
-#define OPUS_AFH_ERRORS
-#define OPUS_COMMON_ERRORS
 
 extern const char **para_errlist[];
 
 #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"), \
@@ -55,6 +54,14 @@ extern const char **para_errlist[];
        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 SIDEBAND_ERRORS \
        PARA_ERROR(BAD_BAND, "invalid or unexpected band designator"), \
        PARA_ERROR(SB_PACKET_SIZE, "invalid sideband packet size or protocol error"), \