]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - error.h
opusdec: Get rid of opusdec_pre_select().
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index 55089c46a2227cbee51c75222284fccc5b9c1b62..6734040bec1a99f7dda774a9d2655cabef4cac18 100644 (file)
--- a/error.h
+++ b/error.h
@@ -34,7 +34,7 @@ DEFINE_ERRLIST_OBJECT_ENUM;
 #define STDIN_ERRORS
 #define WRITE_ERRORS
 #define CHECK_WAV_ERRORS
-#define OPUSDEC_FILTER_ERRORS
+#define VERSION_ERRORS
 
 extern const char **para_errlist[];
 
@@ -62,6 +62,11 @@ extern const char **para_errlist[];
        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"), \