source: trunk/include/daudio.h@ 5369

Last change on this file since 5369 was 5369, checked in by sandervl, 24 years ago

header update

File size: 998 bytes
Line 
1/* $Id: daudio.h,v 1.2 2001-03-24 15:42:20 sandervl Exp $ */
2#ifndef __DAUDIO_H__
3#define __DAUDIO_H__
4
5#ifndef FAR
6#define FAR
7#endif
8
9#define DAUDIO_IOCTL_CAT 0x91
10
11#define DAUDIO_OPEN 0x40
12#define DAUDIO_CLOSE 0x41
13#define DAUDIO_QUERYFORMAT 0x42
14#define DAUDIO_SETVOLUME 0x43
15#define DAUDIO_GETVOLUME 0x44
16#define DAUDIO_START 0x45
17#define DAUDIO_STOP 0x46
18#define DAUDIO_PAUSE 0x47
19#define DAUDIO_RESUME 0x48
20#define DAUDIO_GETPOS 0x49
21#define DAUDIO_ADDBUFFER 0x4A
22#define DAUDIO_REGISTER_THREAD 0x4B
23#define DAUDIO_DEREGISTER_THREAD 0x4C
24
25typedef struct {
26 union
27 {
28 struct
29 {
30 ULONG Volume; // left & right volume (high/low word)
31 } Vol;
32 struct
33 {
34 ULONG lpBuffer;
35 ULONG ulBufferLength;
36 } Buffer;
37 struct
38 {
39 ULONG ulCurrentPos;
40 } Pos;
41 struct
42 {
43 ULONG hSemaphore;
44 } Thread;
45 };
46
47} DAUDIO_CMD, FAR *LPDAUDIO_CMD;
48
49#endif //__DAUDIO_H__
Note: See TracBrowser for help on using the repository browser.