sched/audiod feature: task list and kill
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index 8458ae2bb1b7dea13c242949bb2b8763d1213ef2..430c12f9fa82be81dc8b876f43a40bc32a1cebc6 100644 (file)
--- a/error.h
+++ b/error.h
@@ -82,12 +82,17 @@ enum para_subsystem {
 #define ORTP_SEND_ERRORS
 #define GUI_ERRORS
 #define RINGBUFFER_ERRORS
-#define SCHED_ERRORS
+
 
 
 extern const char **para_errlist[];
 /** \endcond */
 
+#define SCHED_ERRORS \
+       PARA_ERROR(TASK_KILLED, "task killed"), \
+       PARA_ERROR(NO_SUCH_TASK, "task not found"), \
+
+
 #define STDIN_ERRORS \
        PARA_ERROR(STDIN_READ, "failed to read from stdin"), \
        PARA_ERROR(STDIN_EOF, "end of file"), \
@@ -149,6 +154,8 @@ extern const char **para_errlist[];
        PARA_ERROR(CLIENT_WRITE, "client write error"), \
        PARA_ERROR(UCRED_PERM, "permission denied"), \
        PARA_ERROR(INVALID_AUDIOD_CMD, "invalid command"), \
+       PARA_ERROR(AUDIOD_SYNTAX, "syntax error"), \
+       PARA_ERROR(STATUS_EOF, "server closed status connection"), \
 
 
 #define FILTER_CHAIN_ERRORS \
@@ -226,6 +233,7 @@ extern const char **para_errlist[];
        PARA_ERROR(AAC_READ, "aac read error"), \
        PARA_ERROR(STSZ, "did not find stcz atom"), \
        PARA_ERROR(MP4ASC, "audio spec config error"), \
+       PARA_ERROR(AAC_OVERRUN, "aac output buffer overrun"), \
 
 
 #define AAC_COMMON_ERRORS \