root / lab4 / .minix-src / include / sys / ioc_sound.h @ 13
History | View | Annotate | Download (1.19 KB)
1 |
/* sys/ioc_sound.h - Sound ioctl() command codes. Author: Kees J. Bot
|
---|---|
2 |
* 23 Nov 2002
|
3 |
*
|
4 |
*/
|
5 |
|
6 |
#ifndef _S_I_SOUND_H
|
7 |
#define _S_I_SOUND_H
|
8 |
|
9 |
#include <minix/ioctl.h> |
10 |
|
11 |
/* Soundcard DSP ioctls. */
|
12 |
#define DSPIORATE _IOW('s', 1, unsigned int) |
13 |
#define DSPIOSTEREO _IOW('s', 2, unsigned int) |
14 |
#define DSPIOSIZE _IOW('s', 3, unsigned int) |
15 |
#define DSPIOBITS _IOW('s', 4, unsigned int) |
16 |
#define DSPIOSIGN _IOW('s', 5, unsigned int) |
17 |
#define DSPIOMAX _IOR('s', 6, unsigned int) |
18 |
#define DSPIORESET _IO ('s', 7) |
19 |
#define DSPIOFREEBUF _IOR('s', 30, unsigned int) |
20 |
#define DSPIOSAMPLESINBUF _IOR('s', 31, unsigned int) |
21 |
#define DSPIOPAUSE _IO ('s', 32) |
22 |
#define DSPIORESUME _IO ('s', 33) |
23 |
|
24 |
/* Soundcard mixer ioctls. */
|
25 |
#define MIXIOGETVOLUME _IOWR('s', 10, struct volume_level) |
26 |
#define MIXIOGETINPUTLEFT _IOWR('s', 11, struct inout_ctrl) |
27 |
#define MIXIOGETINPUTRIGHT _IOWR('s', 12, struct inout_ctrl) |
28 |
#define MIXIOGETOUTPUT _IOWR('s', 13, struct inout_ctrl) |
29 |
#define MIXIOSETVOLUME _IOWR('s', 20, struct volume_level) |
30 |
#define MIXIOSETINPUTLEFT _IOWR('s', 21, struct inout_ctrl) |
31 |
#define MIXIOSETINPUTRIGHT _IOWR('s', 22, struct inout_ctrl) |
32 |
#define MIXIOSETOUTPUT _IOWR('s', 23, struct inout_ctrl) |
33 |
|
34 |
#endif /* _S_I_SOUND_H */ |