2011-06-16 22:28:29 +08:00
|
|
|
#ifndef _AUDEVCOD_H
|
|
|
|
#define _AUDEVCOD_H
|
|
|
|
#if __GNUC__ >=3
|
|
|
|
#pragma GCC system_header
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef enum _tagSND_DEVICE_ERROR {
|
2012-10-17 15:12:04 +08:00
|
|
|
SNDDEV_ERROR_Open = 1,
|
|
|
|
SNDDEV_ERROR_Close = 2,
|
|
|
|
SNDDEV_ERROR_GetCaps = 3,
|
|
|
|
SNDDEV_ERROR_PrepareHeader = 4,
|
|
|
|
SNDDEV_ERROR_UnprepareHeader = 5,
|
|
|
|
SNDDEV_ERROR_Reset = 6,
|
|
|
|
SNDDEV_ERROR_Restart = 7,
|
|
|
|
SNDDEV_ERROR_GetPosition = 8,
|
|
|
|
SNDDEV_ERROR_Write = 9,
|
|
|
|
SNDDEV_ERROR_Pause = 10,
|
|
|
|
SNDDEV_ERROR_Stop = 11,
|
|
|
|
SNDDEV_ERROR_Start = 12,
|
|
|
|
SNDDEV_ERROR_AddBuffer = 13,
|
|
|
|
SNDDEV_ERROR_Query = 14
|
2011-06-16 22:28:29 +08:00
|
|
|
} SNDDEV_ERR;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|