version 1.34.34.3, 2017/04/26 02:53:31 |
version 1.35, 2016/12/08 10:28:44 |
Line 143 typedef struct audio_encoding { |
|
Line 143 typedef struct audio_encoding { |
|
#define AUDIO_ENCODINGFLAG_EMULATED 1 /* software emulation mode */ |
#define AUDIO_ENCODINGFLAG_EMULATED 1 /* software emulation mode */ |
} audio_encoding_t; |
} audio_encoding_t; |
|
|
|
struct audio_pid { |
|
pid_t pid; /* for audio device belonging to pid */ |
|
lwpid_t lwpid; /* unused */ |
|
}; |
|
|
/* |
/* |
* Balance settings. |
* Balance settings. |
*/ |
*/ |
Line 157 typedef struct audio_encoding { |
|
Line 162 typedef struct audio_encoding { |
|
#define AUDIO_SPEAKER 0x01 /* built-in speaker */ |
#define AUDIO_SPEAKER 0x01 /* built-in speaker */ |
#define AUDIO_HEADPHONE 0x02 /* headphone jack */ |
#define AUDIO_HEADPHONE 0x02 /* headphone jack */ |
#define AUDIO_LINE_OUT 0x04 /* line out */ |
#define AUDIO_LINE_OUT 0x04 /* line out */ |
#define VC_OUT 0x08 /* virt chan out */ |
|
|
|
/* |
/* |
* Input ports |
* Input ports |
Line 166 typedef struct audio_encoding { |
|
Line 170 typedef struct audio_encoding { |
|
#define AUDIO_LINE_IN 0x02 /* line in */ |
#define AUDIO_LINE_IN 0x02 /* line in */ |
#define AUDIO_CD 0x04 /* on-board CD inputs */ |
#define AUDIO_CD 0x04 /* on-board CD inputs */ |
#define AUDIO_INTERNAL_CD_IN AUDIO_CD /* internal CDROM */ |
#define AUDIO_INTERNAL_CD_IN AUDIO_CD /* internal CDROM */ |
#define VC_IN 0x08 /* virt chan in */ |
|
|
|
/* |
/* |
* Audio device operations |
* Audio device operations |
Line 191 typedef struct audio_encoding { |
|
Line 194 typedef struct audio_encoding { |
|
#define AUDIO_PROP_PLAYBACK 0x10 |
#define AUDIO_PROP_PLAYBACK 0x10 |
#define AUDIO_PROP_CAPTURE 0x20 |
#define AUDIO_PROP_CAPTURE 0x20 |
#define AUDIO_GETBUFINFO _IOR('A', 35, struct audio_info) |
#define AUDIO_GETBUFINFO _IOR('A', 35, struct audio_info) |
#define AUDIO_SETCHAN _IOW('A', 36, int) |
#define AUDIO_SETPROC _IOW('A', 36, struct audio_pid) |
#define AUDIO_GETCHAN _IOR('A', 37, int) |
|
|
|
/* |
/* |
* Mixer device |
* Mixer device |
Line 338 typedef struct mixer_ctrl { |
|
Line 340 typedef struct mixer_ctrl { |
|
#define AudioCmonitor "monitor" |
#define AudioCmonitor "monitor" |
#define AudioCequalization "equalization" |
#define AudioCequalization "equalization" |
#define AudioCmodem "modem" |
#define AudioCmodem "modem" |
#define AudioCvirtchan "vchan" |
|
|
|
#endif /* !_SYS_AUDIOIO_H_ */ |
#endif /* !_SYS_AUDIOIO_H_ */ |