/** \cond list of all subsystems that support the shiny error facility */
enum para_subsystem {
+ SS_SCHED,
SS_GUI,
SS_TIME,
SS_WAV,
SS_ORTP_RECV,
SS_AUDIOD,
SS_EXEC,
- SS_SCHED,
SS_STDIN,
SS_SIGNAL,
SS_STRING,
#define ORTP_SEND_ERRORS
#define GUI_ERRORS
#define RINGBUFFER_ERRORS
+#define SCHED_ERRORS
extern const char **para_errlist[];
PARA_ERROR(STDIN_READ, "failed to read from stdin"), \
PARA_ERROR(STDIN_EOF, "end of file"), \
-
-#define SCHED_ERRORS \
- PARA_ERROR(PRE_EOF, "pre_select returned zero"), \
- PARA_ERROR(POST_EOF, "post_select returned zero"), \
-
-
-
-
#define NET_ERRORS \
PARA_ERROR(SEND, "send error"), \
PARA_ERROR(RECV, "receive error"), \
#define AAC_COMMON_ERRORS \
- PARA_ERROR(AAC_BUF, "invalid buffer"), \
PARA_ERROR(ESDS, "did not find esds atom"), \
PARA_ERROR(STCO, "did not find stco atom"), \
#define WRITE_ERRORS \
- PARA_ERROR(READ_HDR, "failed to read audio file header"), \
- PARA_ERROR(READ_STDIN, "failed to read from stdin"), \
PARA_ERROR(WRITE_SYNTAX, "para_write syntax error"), \
- PARA_ERROR(WRITE_OVERRUN, "buffer overrun"), \
PARA_ERROR(PREMATURE_END, "premature end of audio file"), \
PARA_ERROR(NO_WAV_HEADER, "wave header not found"), \
PARA_ERROR(WAV_HEADER_SUCCESS, "successfully read wave header"), \
PARA_ERROR(SET_RATE, "snd_pcm_hw_params_set_rate_near failed"), \
PARA_ERROR(START_THRESHOLD, "snd_pcm_sw_params_set_start_threshold() failed"), \
PARA_ERROR(STOP_THRESHOLD, "snd_pcm_sw_params_set_stop_threshold() failed"), \
- PARA_ERROR(ALSA_LOG, "snd_output_stdio_attach() failed"), \
#define FILE_WRITER_ERRORS \