First draft of the oss writer.
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index 555ca15f0c6e79307f7dafe397c8222630592764..fbc6c4dec89641e49ae4a492bb63dec9565fa2ba 100644 (file)
--- a/error.h
+++ b/error.h
@@ -34,6 +34,12 @@ DEFINE_ERRLIST_OBJECT_ENUM;
 
 extern const char **para_errlist[];
 
+#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 COMPRESS_FILTER_ERRORS \
        PARA_ERROR(COMPRESS_SYNTAX, "syntax error in compress filter config"), \