summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-07-28 19:05:35 +0100
committerJaroslav Kysela <perex@perex.cz>2008-07-29 21:32:03 +0200
commite76d8ceaaff9d7fc1ba2b1963a9f34151832223b (patch)
tree4041759593dbc10c35c96976e60ee759de3f9dbe /README
parent0b18cb1854152a62492aae088cb80cbeb5c0288d (diff)
downloadlinux-3.10-e76d8ceaaff9d7fc1ba2b1963a9f34151832223b.tar.gz
linux-3.10-e76d8ceaaff9d7fc1ba2b1963a9f34151832223b.tar.bz2
linux-3.10-e76d8ceaaff9d7fc1ba2b1963a9f34151832223b.zip
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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions