source: sbliveos2/trunk/include/daudio.h@ 163

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

header update

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