-
-enum { E_BROKEN_CONF, /* Broken configuration for this PCM */
- E_ACCESS_TYPE, /* Access type not available */
- E_SAMPLE_FORMAT, /* Sample format not available */
- E_CHANNEL_COUNT, /* Channels count not available */
- E_HW_PARAMS, /* Unable to install hw params */
- E_SW_PARAMS, /* Unable to install sw params */
- E_BAD_PERIOD, /* Can't use period equal to buffer size */
- E_GET_XFER, /* Unable to obtain xfer align */
- E_SET_XFER, /* snd_pcm_sw_params_set_xfer_align failed */
- E_MEM, /* not enough memory */
- E_READ, /* read error */
- E_WRITE, /* write error */
- E_PIPE, /* write to pipe with other side closed */
- E_PCM_OPEN, /* unable to open pcm */
- E_SND_PCM_INFO, /* pcm info error */
- E_GET_BUFFER_TIME, /* snd_pcm_hw_params_get_buffer_time_max failed */
- E_SET_BUFFER_TIME, /* snd_pcm_hw_params_set_buffer_time_near failed */
- E_SET_RATE, /* snd_pcm_hw_params_set_rate_near failed */
- E_START_THRESHOLD, /* snd_pcm_sw_params_set_start_threshold failed */
- E_STOP_THRESHOLD, /* snd_pcm_sw_params_set_stop_threshold failed */
- E_LOG, /* snd_output_stdio_attach failed */
- E_SYNTAX /* could not parse start_time option */
-};