source: trunk/minix/include/sys/ioc_sound.h@ 19

Last change on this file since 19 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.0 KB
Line 
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 _IOR('s', 1, unsigned int)
13#define DSPIOSTEREO _IOR('s', 2, unsigned int)
14#define DSPIOSIZE _IOR('s', 3, unsigned int)
15#define DSPIOBITS _IOR('s', 4, unsigned int)
16#define DSPIOSIGN _IOR('s', 5, unsigned int)
17#define DSPIOMAX _IOW('s', 6, unsigned int)
18#define DSPIORESET _IO ('s', 7)
19
20/* Soundcard mixer ioctls. */
21#define MIXIOGETVOLUME _IORW('s', 10, struct volume_level)
22#define MIXIOGETINPUTLEFT _IORW('s', 11, struct inout_ctrl)
23#define MIXIOGETINPUTRIGHT _IORW('s', 12, struct inout_ctrl)
24#define MIXIOGETOUTPUT _IORW('s', 13, struct inout_ctrl)
25#define MIXIOSETVOLUME _IORW('s', 20, struct volume_level)
26#define MIXIOSETINPUTLEFT _IORW('s', 21, struct inout_ctrl)
27#define MIXIOSETINPUTRIGHT _IORW('s', 22, struct inout_ctrl)
28#define MIXIOSETOUTPUT _IORW('s', 23, struct inout_ctrl)
29
30#endif /* _S_I_SOUND_H */
Note: See TracBrowser for help on using the repository browser.