mkfs: symlink support
[minix.git] / common / include / sys / ioc_sound.h
blobf875ab3b566805bdbe4af5f1dafb38f80c101c6c
1 /* sys/ioc_sound.h - Sound ioctl() command codes. Author: Kees J. Bot
2 * 23 Nov 2002
4 */
6 #ifndef _S_I_SOUND_H
7 #define _S_I_SOUND_H
9 #include <minix/ioctl.h>
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)
24 /* Soundcard mixer ioctls. */
25 #define MIXIOGETVOLUME _IORW('s', 10, struct volume_level)
26 #define MIXIOGETINPUTLEFT _IORW('s', 11, struct inout_ctrl)
27 #define MIXIOGETINPUTRIGHT _IORW('s', 12, struct inout_ctrl)
28 #define MIXIOGETOUTPUT _IORW('s', 13, struct inout_ctrl)
29 #define MIXIOSETVOLUME _IORW('s', 20, struct volume_level)
30 #define MIXIOSETINPUTLEFT _IORW('s', 21, struct inout_ctrl)
31 #define MIXIOSETINPUTRIGHT _IORW('s', 22, struct inout_ctrl)
32 #define MIXIOSETOUTPUT _IORW('s', 23, struct inout_ctrl)
34 #endif /* _S_I_SOUND_H */