xref: /reactos/sdk/include/dxsdk/audevcod.h (revision c2c66aff)
1*c2c66affSColin Finck 
2*c2c66affSColin Finck #ifndef __AUDEVCOD__
3*c2c66affSColin Finck #define __AUDEVCOD__
4*c2c66affSColin Finck 
5*c2c66affSColin Finck #define EC_SND_DEVICE_ERROR_BASE    0x0200
6*c2c66affSColin Finck #define EC_SNDDEV_IN_ERROR          (EC_SND_DEVICE_ERROR_BASE + 0x00)
7*c2c66affSColin Finck #define EC_SNDDEV_OUT_ERROR         (EC_SND_DEVICE_ERROR_BASE + 0x01)
8*c2c66affSColin Finck 
9*c2c66affSColin Finck typedef enum _tagSND_DEVICE_ERROR
10*c2c66affSColin Finck {
11*c2c66affSColin Finck   SNDDEV_ERROR_Open=1,
12*c2c66affSColin Finck   SNDDEV_ERROR_Close=2,
13*c2c66affSColin Finck   SNDDEV_ERROR_GetCaps=3,
14*c2c66affSColin Finck   SNDDEV_ERROR_PrepareHeader=4,
15*c2c66affSColin Finck   SNDDEV_ERROR_UnprepareHeader=5,
16*c2c66affSColin Finck   SNDDEV_ERROR_Reset=6,
17*c2c66affSColin Finck   SNDDEV_ERROR_Restart=7,
18*c2c66affSColin Finck   SNDDEV_ERROR_GetPosition=8,
19*c2c66affSColin Finck   SNDDEV_ERROR_Write=9,
20*c2c66affSColin Finck   SNDDEV_ERROR_Pause=10,
21*c2c66affSColin Finck   SNDDEV_ERROR_Stop=11,
22*c2c66affSColin Finck   SNDDEV_ERROR_Start=12,
23*c2c66affSColin Finck   SNDDEV_ERROR_AddBuffer=13,
24*c2c66affSColin Finck   SNDDEV_ERROR_Query=14,
25*c2c66affSColin Finck } SNDDEV_ERR;
26*c2c66affSColin Finck 
27*c2c66affSColin Finck #endif
28*c2c66affSColin Finck 
29