1 #ifndef _AUDEVCOD_H 2 #define _AUDEVCOD_H 3 #if __GNUC__ >=3 4 #pragma GCC system_header 5 #endif 6 7 #ifdef __cplusplus 8 extern "C" { 9 #endif 10 11 typedef enum _tagSND_DEVICE_ERROR { 12 SNDDEV_ERROR_Open = 1, 13 SNDDEV_ERROR_Close = 2, 14 SNDDEV_ERROR_GetCaps = 3, 15 SNDDEV_ERROR_PrepareHeader = 4, 16 SNDDEV_ERROR_UnprepareHeader = 5, 17 SNDDEV_ERROR_Reset = 6, 18 SNDDEV_ERROR_Restart = 7, 19 SNDDEV_ERROR_GetPosition = 8, 20 SNDDEV_ERROR_Write = 9, 21 SNDDEV_ERROR_Pause = 10, 22 SNDDEV_ERROR_Stop = 11, 23 SNDDEV_ERROR_Start = 12, 24 SNDDEV_ERROR_AddBuffer = 13, 25 SNDDEV_ERROR_Query = 14 26 } SNDDEV_ERR; 27 28 #ifdef __cplusplus 29 } 30 #endif 31 #endif 32