minix/include/sys/ioc_sound.h

35 lines
1.2 KiB
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
/* sys/ioc_sound.h - Sound ioctl() command codes. Author: Kees J. Bot
* 23 Nov 2002
*
*/
#ifndef _S_I_SOUND_H
#define _S_I_SOUND_H
#include <minix/ioctl.h>
/* Soundcard DSP ioctls. */
#define DSPIORATE _IOW('s', 1, unsigned int)
#define DSPIOSTEREO _IOW('s', 2, unsigned int)
#define DSPIOSIZE _IOW('s', 3, unsigned int)
#define DSPIOBITS _IOW('s', 4, unsigned int)
#define DSPIOSIGN _IOW('s', 5, unsigned int)
#define DSPIOMAX _IOR('s', 6, unsigned int)
#define DSPIORESET _IO ('s', 7)
#define DSPIOFREEBUF _IOR('s', 30, unsigned int)
#define DSPIOSAMPLESINBUF _IOR('s', 31, unsigned int)
#define DSPIOPAUSE _IO ('s', 32)
#define DSPIORESUME _IO ('s', 33)
2005-04-21 16:53:53 +02:00
/* Soundcard mixer ioctls. */
#define MIXIOGETVOLUME _IOWR('s', 10, struct volume_level)
#define MIXIOGETINPUTLEFT _IOWR('s', 11, struct inout_ctrl)
#define MIXIOGETINPUTRIGHT _IOWR('s', 12, struct inout_ctrl)
#define MIXIOGETOUTPUT _IOWR('s', 13, struct inout_ctrl)
#define MIXIOSETVOLUME _IOWR('s', 20, struct volume_level)
#define MIXIOSETINPUTLEFT _IOWR('s', 21, struct inout_ctrl)
#define MIXIOSETINPUTRIGHT _IOWR('s', 22, struct inout_ctrl)
#define MIXIOSETOUTPUT _IOWR('s', 23, struct inout_ctrl)
2005-04-21 16:53:53 +02:00
#endif /* _S_I_SOUND_H */