pulseaudio/src/modules
David Henningsson ca4942e89c alsa-mixer: Switch to Headphone when Headphone mic jack is plugged in
When a "Headphone Mic" jack becomes available, we do not know if
a headphone or a mic has been plugged in. Therefore, setting both
paths to "unknown" is, in theory, the correct thing to do.
However, in practice, people are more likely to plug in a headphone
rather than a mic. Therefore, allow autoswitch to the headphone port
when the jack is plugged in.

A more advanced implementation would consider what was plugged in last
time depending on what port was selected on the input side at that
time, and set availability accordingly. However, such an implementation
will have to wait (probably at least until we have our fancy routing
system implementation).

Buglink: https://bugs.launchpad.net/bugs/1169143
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2013-04-24 12:18:23 +02:00
..
alsa alsa-mixer: Switch to Headphone when Headphone mic jack is plugged in 2013-04-24 12:18:23 +02:00
bluetooth bluetooth: Never allow microphone output ports 2013-03-08 18:23:41 +01:00
dbus idxset: Use pa_free_cb_t instead of pa_free2_cb_t 2013-02-16 01:15:27 +02:00
echo-cancel modules: remove obsolete comment on PA_SOURCE_OUTPUT_DONT_INHIBIT_AUTO_SUSPEND 2013-03-06 01:42:07 +02:00
gconf hashmap: Use pa_free_cb_t instead of pa_free2_cb_t 2013-02-16 01:12:21 +02:00
jack jack: Don't fail module-jackdbus-detect loading if the channels argument is not given. 2013-01-22 08:42:27 +02:00
macosx hashmap: Use pa_free_cb_t instead of pa_free2_cb_t 2013-02-16 01:12:21 +02:00
oss oss: Check pa_read() return value. 2012-12-19 12:31:50 +02:00
raop hashmap: Use pa_free_cb_t instead of pa_free2_cb_t 2013-02-16 01:12:21 +02:00
rtp rtp: Introduce source IP configuration 2013-03-25 09:47:04 +00:00
x11 modules: Use pa_streq instead of strcmp. 2012-06-09 16:21:41 +03:00
xen modules: Micro-optimisation for rewind_requested paths 2012-11-16 23:16:05 +05:30
ladspa.h merge 'lennart' branch back into trunk. 2007-10-28 19:13:50 +00:00
Makefile build-sys: readd stub makefiles to subdirectories to make building with emacs easier 2012-05-15 14:17:58 +02:00
module-always-sink.c modules: Use PA_IDXSET_FOREACH wherever applicable. 2012-05-31 14:12:33 +02:00
module-augment-properties.c hashmap: Use pa_free_cb_t instead of pa_free2_cb_t 2013-02-16 01:12:21 +02:00
module-card-restore.c Revert "card: Support adding ports dynamically" 2013-03-27 08:43:02 +02:00
module-cli.c win32: Make some unused-variable warnings go away 2011-06-24 00:34:05 +01:00
module-combine-sink.c idxset: Use pa_free_cb_t instead of pa_free2_cb_t 2013-02-16 01:15:27 +02:00
module-combine.c Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
module-console-kit.c console-kit, systemd-login: Check for logind, not for systemd 2013-03-29 13:33:18 +02:00
module-default-device-restore.c More spelling fixes 2011-08-25 11:27:47 +01:00
module-defs.h.m4 modules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecated 2009-05-28 02:47:36 +02:00
module-detect.c modules: Use pa_streq instead of strcmp. 2012-06-09 16:21:41 +03:00
module-device-manager.c idxset: Use pa_free_cb_t instead of pa_free2_cb_t 2013-02-16 01:15:27 +02:00
module-device-restore.c idxset: Use pa_free_cb_t instead of pa_free2_cb_t 2013-02-16 01:15:27 +02:00
module-equalizer-sink.c equalizer: Fix compiler warning due use of 'signal' 2013-04-16 11:38:23 +05:30
module-esound-compat-spawnfd.c Initialise variables 2011-08-15 09:41:56 +01:00
module-esound-compat-spawnpid.c Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
module-esound-sink.c modules: Micro-optimisation for rewind_requested paths 2012-11-16 23:16:05 +05:30
module-filter-apply.c filter-apply: Fix segfault with moving streams 2013-03-22 20:49:47 +02:00
module-filter-heuristics.c core: Add a string list membership check function 2011-10-28 15:21:09 +02:00
module-hal-detect-compat.c hal: add stub module that loads module-udev-detect instead of module-hal-detect 2009-08-11 23:04:35 +02:00
module-intended-roles.c core: Add a string list membership check function 2011-10-28 15:21:09 +02:00
module-ladspa-sink.c ladspa: Use volume sharing. 2013-03-13 15:17:49 +02:00
module-lirc.c volume: Clamp volume to PA_VOLUME_MAX 2010-10-15 01:10:00 +05:30
module-loopback.c loopback: Flush asyncmsgq from the right context 2013-03-22 20:49:56 +02:00
module-match.c match: Use the SINK_INPUT_FIXATE hook instead of NEW. 2012-10-30 16:32:34 +02:00
module-mmkbd-evdev.c volume: Clamp volume to PA_VOLUME_MAX 2010-10-15 01:10:00 +05:30
module-native-protocol-fd.c Initialise variables 2011-08-15 09:41:56 +01:00
module-null-sink.c modules: Micro-optimisation for rewind_requested paths 2012-11-16 23:16:05 +05:30
module-null-source.c Initialise variables 2011-08-15 09:41:56 +01:00
module-pipe-sink.c modules: Micro-optimisation for rewind_requested paths 2012-11-16 23:16:05 +05:30
module-pipe-source.c pipe: check return value of mkfifo() 2012-05-29 09:03:15 +05:30
module-position-event-sounds.c sink-input: New volume_factor system 2012-12-19 12:31:47 +02:00
module-protocol-stub.c core-util: Fix permissions handling while creating directories 2012-07-03 08:49:26 +05:30
module-remap-sink.c modules: Remove obsolete may_move_to callbacks 2013-03-06 16:32:12 +02:00
module-remap-source.c modules: add module-remap-source 2013-03-05 23:20:13 +02:00
module-rescue-streams.c Fix typos 2010-12-20 11:07:30 +00:00
module-role-cork.c idxset: Use pa_free_cb_t instead of pa_free2_cb_t 2013-02-16 01:15:27 +02:00
module-role-ducking.c idxset: Use pa_free_cb_t instead of pa_free2_cb_t 2013-02-16 01:15:27 +02:00
module-rygel-media-server.c rygel: Set DLNA profile on our MediaItems 2013-04-20 09:09:01 +05:30
module-sine-source.c Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
module-sine.c Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
module-solaris.c solaris: When suspending, flush the device instead of draining it. 2013-01-04 17:13:32 +02:00
module-stream-restore.c idxset: Use pa_free_cb_t instead of pa_free2_cb_t 2013-02-16 01:15:27 +02:00
module-suspend-on-idle.c hashmap: Use pa_free_cb_t instead of pa_free2_cb_t 2013-02-16 01:12:21 +02:00
module-switch-on-connect.c module-switch-on-connect: Don't switch unlinked sink input and source outputs 2011-08-31 18:49:44 +05:30
module-switch-on-port-available.c module-switch-on-port-available: Handle hotplugged cards 2013-04-24 07:32:48 +02:00
module-systemd-login.c systemd-login: Remove unused variable session. 2013-03-29 13:58:17 +02:00
module-tunnel.c sink: Process rewind requests also when suspended. 2012-11-16 23:16:05 +05:30
module-udev-detect.c udev: Add tsched_buffer_size module argument 2013-03-13 13:40:08 +02:00
module-virtual-sink.c modules: Remove obsolete may_move_to callbacks 2013-03-06 16:32:12 +02:00
module-virtual-source.c modules: Remove obsolete may_move_to callbacks 2013-03-06 16:32:12 +02:00
module-virtual-surround-sink.c modules: Remove obsolete may_move_to callbacks 2013-03-06 16:32:12 +02:00
module-volume-restore.c Fix up some double spaces 2011-03-18 09:20:07 +00:00
module-waveout.c modules: Micro-optimisation for rewind_requested paths 2012-11-16 23:16:05 +05:30
module-zeroconf-discover.c hashmap: Use pa_free_cb_t instead of pa_free2_cb_t 2013-02-16 01:12:21 +02:00
module-zeroconf-publish.c hashmap: Use pa_free_cb_t instead of pa_free2_cb_t 2013-02-16 01:12:21 +02:00
reserve-monitor.c reserve: Move get_name_owner() to the public rd_device API 2013-01-31 13:56:25 +02:00
reserve-monitor.h More spelling fixes 2011-08-25 11:27:47 +01:00
reserve-wrap.c Move i18n.[ch] to src/pulsecore 2011-08-11 13:23:42 +02:00
reserve-wrap.h reserve: wrap device reservation monitor reference implementation 2009-06-05 19:03:16 +02:00
reserve.c reserve: Fix leaking NameLost signals after release+acquire 2013-01-31 14:04:45 +02:00
reserve.h reserve: Move get_name_owner() to the public rd_device API 2013-01-31 13:56:25 +02:00
udev-util.c udev: Don't use deprecated udev_get_*_path() functions 2012-05-29 09:17:18 +05:30
udev-util.h Remove unnecessary #includes 2011-06-22 23:12:20 +01:00