pulseaudio/src/modules
Marijn Suijten 02027518af bluetooth: Only use hardware volume callbacks for peer attenuation
Setting these callbacks adds the HW_{VOLUME,MUTE}_CTRL flag even when
PulseAudio is solely responsible for performing attenuation whilst only
keeping the peer posted on changes.  For this case the hardware callback
is not registered at all but instead a hook is attached to catch
PA_CORE_HOOK_{SINK,SOURCE}_VOLUME_CHANGED.  Only when the peer performs
attenuation (the peer is in HeadSet/HandsFree role) are the callbacks
used, without touching PA software volume at all.  A future change could
potentially use software volume to compensate for the extremely coarse
16 steps of volume control in HSP and HFP, and to allow volume over
100%.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/519>
2021-03-26 21:09:36 +01:00
..
alsa alsa-sink: Do not increase watermark when requested to rewind 0 bytes 2021-03-25 02:29:42 +00:00
bluetooth bluetooth: Only use hardware volume callbacks for peer attenuation 2021-03-26 21:09:36 +01:00
dbus treewide: Use DBus defines instead of direct string literals 2021-02-01 16:10:11 +00:00
echo-cancel virtual sources: Propagate asyncmsgq change after source-output move 2020-01-13 20:40:04 +01:00
gsettings build-sys: meson: adjust path to gsettings-helper runing from build tree 2020-10-20 15:24:52 -04:00
jack Capitalize jack in module-jack-sink.c 2020-12-20 11:35:30 +00:00
macosx macos: Add missing import statement 2020-09-28 15:44:38 +03:00
oss oss: parse device names correctly on FreeBSD 2021-01-18 16:33:53 +00:00
raop raop: add missing netinet include on FreeBSD 2021-01-18 16:33:53 +00:00
rtp rtp: gstreamer: Account for rounding errors in RTP timestamp conversion 2020-10-23 12:11:35 -04:00
x11 x11: gracefully handle ICE connection error 2021-01-04 15:59:22 +00:00
ladspa.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
meson.build build-sys: meson: support elogind alternative for module-systemd-login 2021-02-12 20:34:11 +03:00
module-allow-passthrough.c allow-passthrough: fix hook return value 2018-05-07 16:53:57 +03:00
module-always-sink.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-always-source.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-augment-properties.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-card-restore.c database: extract common method to handle machine id and architecture 2021-01-07 23:27:16 +00:00
module-cli.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-combine-sink.c sink, source: remove the state getters 2018-07-02 21:23:13 +03:00
module-combine.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-console-kit.c set exit_idle_time to 0 when we detect a session 2018-06-21 06:02:21 +05:30
module-default-device-restore.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-detect.c detect: fix/improve FreeBSD support 2021-01-18 16:33:53 +00:00
module-devd-detect.c module-devd-detect: new module for soundcard hotplug on FreeBSD 2021-01-18 16:33:53 +00:00
module-device-manager.c database: extract common method to handle machine id and architecture 2021-01-07 23:27:16 +00:00
module-device-restore.c database: extract common method to handle machine id and architecture 2021-01-07 23:27:16 +00:00
module-equalizer-sink.c database: extract common method to handle machine id and architecture 2021-01-07 23:27:16 +00:00
module-esound-compat-spawnfd.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-esound-compat-spawnpid.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-esound-sink.c core, modules: Remove useless EINTR tests 2020-12-09 10:28:15 +00:00
module-filter-apply.c filter-apply: Look for filter parameters also in device properties 2020-12-14 21:01:16 +00:00
module-filter-heuristics.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-hal-detect-compat.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-intended-roles.c source: move the streams to the default_source when the source unlink 2019-12-14 18:40:19 +00:00
module-ladspa-sink.c ladspa-sink: do not call pa_sink_suspend if PA_SINK_IS_LINKED is false 2021-01-04 12:19:07 +00:00
module-lirc.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-loopback.c loopback: Fix sink latency calculation if source is alsa source with fixed latency 2021-01-04 20:16:52 +00:00
module-match.c module-match: Allow loading module more than once 2020-12-07 21:38:05 +05:30
module-mmkbd-evdev.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-native-protocol-fd.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-null-sink.c null-sink: Change block size to 50 msec when norewinds is set 2020-11-27 17:15:02 +00:00
module-null-source.c null-source: Change max_rewind when the latency changes 2021-02-01 16:03:46 +00:00
module-pipe-sink.c core, modules: Remove useless EINTR tests 2020-12-09 10:28:15 +00:00
module-pipe-source.c core, modules: Remove useless EINTR tests 2020-12-09 10:28:15 +00:00
module-position-event-sounds.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-protocol-stub.c win32: Fix (interim) esound paths in module-protocol-stub.c 2020-12-16 11:05:28 -05:00
module-remap-sink.c sink-input, source-output: remove the state getters 2018-07-02 18:54:03 +03:00
module-remap-source.c virtual sources: Propagate asyncmsgq change after source-output move 2020-01-13 20:40:04 +01:00
module-rescue-streams.c source: move the streams to the default_source when the source unlink 2019-12-14 18:40:19 +00:00
module-role-cork.c role-ducking, role-cork: Add use_source_trigger argument 2019-03-26 14:54:15 +00:00
module-role-ducking.c role-ducking, role-cork: Add use_source_trigger argument 2019-03-26 14:54:15 +00:00
module-rygel-media-server.c treewide: Use DBus defines instead of direct string literals 2021-02-01 16:10:11 +00:00
module-sine-source.c pass pa_suspend_cause_t to set_state_in_io_thread() callbacks 2018-03-20 13:00:44 +02:00
module-sine.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-solaris.c core, modules: Remove useless EINTR tests 2020-12-09 10:28:15 +00:00
module-stream-restore.c database: extract common method to handle machine id and architecture 2021-01-07 23:27:16 +00:00
module-suspend-on-idle.c sink, source: remove the state getters 2018-07-02 21:23:13 +03:00
module-switch-on-connect.c switch-on-connect: Blacklist HDMI devices by default 2019-12-27 11:24:36 +02:00
module-switch-on-port-available.c switch-on-port-available: checking the off profile when switching profile 2021-01-18 17:51:49 +00:00
module-systemd-login.c set exit_idle_time to 0 when we detect a session 2018-06-21 06:02:21 +05:30
module-tunnel-sink-new.c tunnel-sink-new: log buffer events 2020-12-09 11:54:37 +00:00
module-tunnel-source-new.c pass pa_suspend_cause_t to set_state_in_io_thread() callbacks 2018-03-20 13:00:44 +02:00
module-tunnel.c Rename "available group" to "availability group" 2020-08-10 20:54:21 +03:00
module-udev-detect.c ucm: add possibility to skip the UCM card completely (Linked) 2020-09-17 14:52:50 +00:00
module-virtual-sink.c sink, source: remove the state getters 2018-07-02 21:23:13 +03:00
module-virtual-source.c virtual sources: Propagate asyncmsgq change after source-output move 2020-01-13 20:40:04 +01:00
module-virtual-surround-sink.c virtual-surround-sink: Use FFTW3 instead of naive approach 2020-11-24 03:56:02 +00:00
module-volume-restore.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-waveout.c Win32: Use WAVEFORMATEX for multi-channel audio output on Windows. 2021-03-23 13:12:38 -04:00
module-zeroconf-discover.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-zeroconf-publish.c treewide: Use DBus defines instead of direct string literals 2021-02-01 16:10:11 +00:00
reserve-monitor.c treewide: Use DBus defines instead of direct string literals 2021-02-01 16:10:11 +00:00
reserve-monitor.h More spelling fixes 2011-08-25 11:27:47 +01:00
reserve-wrap.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
reserve-wrap.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
reserve.c treewide: Use DBus defines instead of direct string literals 2021-02-01 16:10:11 +00:00
reserve.h reserve: Move get_name_owner() to the public rd_device API 2013-01-31 13:56:25 +02:00
stdin-util.c gconf, gsettings: fix config.h includes 2018-04-19 14:38:18 +03:00
stdin-util.h gconf, gsettings: fix config.h includes 2018-04-19 14:38:18 +03:00
stream-interaction.c stream-interaction: Remove useless condition 2019-03-26 14:54:15 +00:00
stream-interaction.h role-cork: prepare merge with role-ducking: replace "cork" with "interact" where appropriate 2016-03-15 13:02:04 +02:00
udev-util.c udev: Deal with unavailable bus property 2015-04-13 08:35:53 +05:30
udev-util.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00