[pulseaudio-tickets] [PulseAudio] #875: [patch] Add module for jack sense evdev input devices
PulseAudio
trac-noreply at tango.0pointer.de
Fri Nov 12 07:12:40 PST 2010
#875: [patch] Add module for jack sense evdev input devices
-------------------------+--------------------------------------------------
Reporter: joeshaw | Owner: lennart
Type: enhancement | Status: new
Milestone: | Component: core
Keywords: |
-------------------------+--------------------------------------------------
Sound modules in the Linux kernel have the ability to create input devices
for sound card jacks through the snd_jack API. (See sound/core/jack.c)
These devices are exported as evdev devices which notify (and can be
queried about) a few different switches.
I'm attaching a new PA module which maps one of those devices to a source
and/or sink. Whenever the jack sense changes, a property is set on the
source/sink. Clients can watch for notifications and take action (such as
muting, changing the default source/sink, migrating streams to that
source/sink) when the property changes.
--
Ticket URL: <http://pulseaudio.org/ticket/875>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list