csu: restore crt1.o symlink
[minix.git] / include / minix / sound.h
blobc9d82e1534075cbc5d55ebaed5a5908c9baac364
1 /* Definitions used by /dev/audio and /dev/mixer.
3 * Feb 13 1995 Author: Michel R. Prevenier
4 */
6 #ifndef SOUND_H
7 #define SOUND_H
9 /* ------- Mixer stuff ------- */
11 /* Available devices */
12 enum Device
14 Master, /* Master volume */
15 Dac, /* DSP, digitized sound */
16 Fm, /* Fm synthesized sound */
17 Cd, /* Compact */
18 Line, /* Line in */
19 Mic, /* Microphone */
20 Speaker, /* Pc speaker */
21 Treble, /* Treble */
22 Bass /* Bass */
25 enum InputState
27 ON, OFF
30 /* Volume levels range from 0 to 31, bass & treble range from 0 to 15 */
31 struct volume_level
33 enum Device device;
34 int left;
35 int right;
38 struct inout_ctrl
40 enum Device device;
41 enum InputState left;
42 enum InputState right;
45 #endif /* SOUND_H */