Authors: Jon Griffiths <jon_p_griffiths@yahoo.com>, François Gouget <fgouget@codeweav...
[wine/multimedia.git] / include / audevcod.h
blobeb53f1e5884ef4bde047fe5312e3151fcd8f0c89
1 #ifndef __WINE_AUDEVCOD_H_
2 #define __WINE_AUDEVCOD_H_
4 typedef enum
6 SNDDEV_ERROR_Open = 1,
7 SNDDEV_ERROR_Close = 2,
8 SNDDEV_ERROR_GetCaps = 3,
9 SNDDEV_ERROR_PrepareHeader = 4,
10 SNDDEV_ERROR_UnprepareHeader = 5,
11 SNDDEV_ERROR_Reset = 6,
12 SNDDEV_ERROR_Restart = 7,
13 SNDDEV_ERROR_GetPosition = 8,
14 SNDDEV_ERROR_Write = 9,
15 SNDDEV_ERROR_Pause = 10,
16 SNDDEV_ERROR_Stop = 11,
17 SNDDEV_ERROR_Start = 12,
18 SNDDEV_ERROR_AddBuffer = 13,
19 SNDDEV_ERROR_Query = 14,
20 } SNDDEV_ERR;
22 #define EC_SND_DEVICE_ERROR_BASE 0x0200
23 #define EC_SNDDEV_IN_ERROR (EC_SND_DEVICE_ERROR_BASE + 0x00)
24 #define EC_SNDDEV_OUT_ERROR (EC_SND_DEVICE_ERROR_BASE + 0x01)
26 #endif /* __WINE_AUDEVCOD_H_ */