android_kernel_xiaomi_sm8350/include/sound
Mark Brown e76d8ceaaf ALSA: Add jack reporting API
Currently very few systems provide information about jack status to user
space, even though many have hardware facilities to do detection. Those
systems that do use an input device with the existing SW_HEADPHONE_INSERT
switch type to do so, often independently of ALSA.

This patch introduces a standard method for representing jacks to user
space into ALSA. It allows drivers to register jacks for a sound card with
the input subsystem, binding the input device to the card to help user
space associate the input devices with their sound cards. The created
input devices are named in the form "card longname jack" where jack is
provided by the driver when allocating a jack. By default the parent for
the input device is the sound card but this can be overridden by the
card driver.

The existing user space API with SW_HEADPHONE_INSERT is preserved.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-07-29 21:32:03 +02:00
..
ac97_codec.h [ALSA] ac97 - Fix ASUS A9T laptop output 2008-05-30 16:20:42 +02:00
ad1816a.h
ad1843.h ALSA: ALSA driver for SGI O2 audio board 2008-07-14 09:01:02 +02:00
ad1848.h
ak4xxx-adda.h [ALSA] some fixes and cleanup for ICE1724 cards 2008-04-24 12:00:25 +02:00
ak4114.h [ALSA] some fixes and cleanup for ICE1724 cards 2008-04-24 12:00:25 +02:00
ak4117.h
ak4531_codec.h
asequencer.h
asound_fm.h
asound.h [ALSA] Revert "alsa: add annotations to bitwise type snd_pcm_hw_param_t" 2008-06-26 08:53:05 +02:00
asoundef.h [ALSA] IEC958 definitions for consumer status channel, byte 4 2008-04-24 12:00:19 +02:00
control.h ALSA: make snd_ctl_elem_read() and snd_ctl_elem_write() static 2008-06-13 16:48:49 +02:00
core.h ALSA: Add jack reporting API 2008-07-29 21:32:03 +02:00
cs46xx_dsp_scb_types.h
cs46xx_dsp_spos.h
cs46xx_dsp_task_types.h
cs46xx.h
cs4231-regs.h ALSA: opti93x: add support for Opti93x codec in cs4231-lib 2008-06-13 16:47:33 +02:00
cs4231.h ALSA: opti93x: add support for Opti93x codec in cs4231-lib 2008-06-13 16:47:33 +02:00
cs8403.h
cs8427.h
driver.h
emu10k1_synth.h
emu10k1.h [ALSA] emu10k1 - Fix inverted Analog/Digital mixer switch on Audigy2 2008-06-02 11:45:53 +02:00
emu8000_reg.h
emu8000.h
emux_legacy.h
emux_synth.h
es1688.h
gus.h
hda_hwdep.h
hdsp.h
hdspm.h
hwdep.h
i2c.h
info.h
initval.h
jack.h ALSA: Add jack reporting API 2008-07-29 21:32:03 +02:00
Kbuild
memalloc.h
minors.h
mixer_oss.h
mpu401.h [ALSA] Add MPU401_INFO_NO_ACK bitflag 2008-04-29 19:01:56 +02:00
opl3.h
opl4.h
pcm_oss.h
pcm_params.h
pcm-indirect.h
pcm.h [ALSA] Revert "alsa: add annotations to bitwise type snd_pcm_hw_param_t" 2008-06-26 08:53:05 +02:00
pt2258.h
rawmidi.h
sb16_csp.h
sb.h
seq_device.h
seq_kernel.h ALSA: remove CONFIG_KMOD from sound 2008-07-10 09:32:58 +02:00
seq_midi_emul.h
seq_midi_event.h
seq_oss_legacy.h
seq_oss.h
seq_virmidi.h
sfnt_info.h
snd_wavefront.h
soc-dapm.h ALSA: ASoC: Export dapm_reg_event() fully 2008-07-29 16:00:33 +02:00
soc.h ALSA: asoc: core - add Digital Audio Interface (DAI) control functions. 2008-07-10 09:32:50 +02:00
soundfont.h
sscape_ioctl.h
tea575x-tuner.h
tea6330t.h
timer.h
tlv.h
trident.h
uda1341.h [ALSA] remove CVS keywords 2008-05-27 15:56:20 +02:00
util_mem.h
version.h ALSA: Release v1.0.17 2008-07-14 09:54:43 +02:00
vx_core.h
wavefront.h
ymfpci.h