-#define OSL_ERRORS \
- PARA_ERROR(OSL_OPENDIR, "can not open directory"), \
- PARA_ERROR(OSL_CHDIR, "fixme"), \
- PARA_ERROR(BAD_DB_DIR, "fixme"), \
- PARA_ERROR(NO_COLUMN_DESC, "fixme"), \
- PARA_ERROR(BAD_BASENAME, "fixme"), \
- PARA_ERROR(BAD_STORAGE_TYPE, "fixme"), \
- PARA_ERROR(BAD_STORAGE_FLAGS, "fixme"), \
- PARA_ERROR(NO_COLUMN_NAME, "fixme"), \
- PARA_ERROR(NO_COLUMNS, "fixme"), \
- PARA_ERROR(BAD_COLUMN_NAME, "fixme"), \
- PARA_ERROR(NO_UNIQUE_RBTREE_COLUMN, "fixme"), \
- PARA_ERROR(NO_RBTREE_COL, "fixme"), \
- PARA_ERROR(DUPLICATE_COL_NAME, "fixme"), \
- PARA_ERROR(BAD_STORAGE_SIZE, "fixme"), \
- PARA_ERROR(NO_COMPARE_FUNC, "fixme"), \
- PARA_ERROR(NULL_OBJECT, "fixme"), \
- PARA_ERROR(BAD_DATA_SIZE, "fixme"), \
- PARA_ERROR(NOT_MAPPED, "fixme"), \
- PARA_ERROR(ALREADY_MAPPED, "fixme"), \
- PARA_ERROR(BAD_SIZE, "fixme"), \
- PARA_ERROR(TRUNC, "fixme"), \
- PARA_ERROR(UNLINK, "fixme"), \
- PARA_ERROR(EXIST, "fixme"), \
- PARA_ERROR(ISDIR, "fixme"), \
- PARA_ERROR(NOTDIR, "fixme"), \
- PARA_ERROR(NOENT, "fixme"), \
- PARA_ERROR(OSL_PERM, "fixme"), \
- PARA_ERROR(BAD_TABLE, "table not open"), \
- PARA_ERROR(BAD_TABLE_HEADER, "table header corruption"), \
- PARA_ERROR(BAD_TABLE_DESC, "fixme"), \
- PARA_ERROR(RB_KEY_EXISTS, "key already exists in rbtree"), \
- PARA_ERROR(RB_KEY_NOT_FOUND, "key not found in rbtree"), \
- PARA_ERROR(BAD_ID, "fixme"), \
- PARA_ERROR(INDEX_CORRUPTION, "fixme"), \
- PARA_ERROR(BAD_OFFSET, "fixme"), \
- PARA_ERROR(INVALID_OBJECT, "fixme"), \
- PARA_ERROR(MKDIR, "failed to create directory"), \
- PARA_ERROR(OPEN, "failed to open file"), \
- PARA_ERROR(STAT, "can not stat file"), \
- PARA_ERROR(FSTAT, "fstat error"), \
- PARA_ERROR(RENAME, "fixme"), \
- PARA_ERROR(EMPTY, "file empty"), \
- PARA_ERROR(NOSPC, "fixme"), \
- PARA_ERROR(MMAP, "mmap error"), \
- PARA_ERROR(MUNMAP, "munmap failed"), \
- PARA_ERROR(WRITE, "fixme"), \
- PARA_ERROR(LSEEK, "fixme"), \
- PARA_ERROR(BUSY, "fixme"), \
- PARA_ERROR(SHORT_TABLE, "fixme"), \
- PARA_ERROR(NO_MAGIC, "fixme"), \
- PARA_ERROR(VERSION_MISMATCH, "fixme"), \
- PARA_ERROR(BAD_COLUMN_NUM, "fixme"), \
- PARA_ERROR(BAD_TABLE_FLAGS, "fixme"), \
- PARA_ERROR(RBTREE_EMPTY, "fixme"), \
- PARA_ERROR(BAD_ROW, "fixme"), \
- PARA_ERROR(OSL_GETCWD, "can not get current working directory"), \
- PARA_ERROR(OSL_LSTAT, "fixme"), \
-
-
-#define RBTREE_ERRORS \
+#define PREBUFFER_FILTER_ERRORS \
+ PARA_ERROR(PREBUFFER_SYNTAX, "syntax error in prebuffer filter config"), \
+
+#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"), \
+
+
+#define WAV_FILTER_ERRORS \
+ PARA_ERROR(WAV_BAD_FC, "invalid filter chain configuration"), \
+
+
+#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"), \
+
+
+#define SEND_COMMON_ERRORS \
+ PARA_ERROR(MAX_CLIENTS, "maximal number of clients exceeded"), \
+
+
+#define FADE_ERRORS \
+ PARA_ERROR(FADE_SYNTAX, "fade syntax error"), \
+
+
+#define CLIENT_ERRORS \
+ PARA_ERROR(TASK_STARTED, "task started"), \