Last change
on this file since 171 was 171, 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:
951 bytes
|
Line | |
---|
1 | /* $Id: daudio.h 171 2001-03-25 22:06:43Z sandervl $ */
|
---|
2 | #ifndef __DAUDIO_H__
|
---|
3 | #define __DAUDIO_H__
|
---|
4 |
|
---|
5 | #define DAUDIO_IOCTL_CAT 0x91
|
---|
6 |
|
---|
7 | #define DAUDIO_OPEN 0x40
|
---|
8 | #define DAUDIO_CLOSE 0x41
|
---|
9 | #define DAUDIO_QUERYFORMAT 0x42
|
---|
10 | #define DAUDIO_SETVOLUME 0x43
|
---|
11 | #define DAUDIO_GETVOLUME 0x44
|
---|
12 | #define DAUDIO_START 0x45
|
---|
13 | #define DAUDIO_STOP 0x46
|
---|
14 | #define DAUDIO_PAUSE 0x47
|
---|
15 | #define DAUDIO_RESUME 0x48
|
---|
16 | #define DAUDIO_GETPOS 0x49
|
---|
17 | #define DAUDIO_ADDBUFFER 0x4A
|
---|
18 | #define DAUDIO_REGISTER_THREAD 0x4B
|
---|
19 | #define DAUDIO_DEREGISTER_THREAD 0x4C
|
---|
20 |
|
---|
21 | typedef struct {
|
---|
22 | union
|
---|
23 | {
|
---|
24 | struct
|
---|
25 | {
|
---|
26 | ULONG VolumeL; // left volume (0..100)
|
---|
27 | ULONG VolumeR; // right volume (0..100)
|
---|
28 | } Vol;
|
---|
29 | struct
|
---|
30 | {
|
---|
31 | ULONG lpBuffer;
|
---|
32 | ULONG ulBufferLength;
|
---|
33 | } Buffer;
|
---|
34 | struct
|
---|
35 | {
|
---|
36 | ULONG ulCurrentPos;
|
---|
37 | } Pos;
|
---|
38 | struct
|
---|
39 | {
|
---|
40 | ULONG hSemaphore;
|
---|
41 | } Thread;
|
---|
42 | };
|
---|
43 |
|
---|
44 | } DAUDIO_CMD, FAR *LPDAUDIO_CMD;
|
---|
45 |
|
---|
46 | #endif //__DAUDIO_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.