pulseaudio/src/modules
Renjith Thomas fb6b8dfdec bluetooth: fix distorted audio during Bluetooth SCO HFP/HSP playback
Issue: When HFP/HSP profile is used with certain BT chipsets, the
audio sounds heavily distorted, with very slow playback full of noise.
During recording, the samples are dropped and it distorts the recorded
audio samples.

The root cause of both the issues are related to the fixed MTU sizes
in the PA stack, which is 48 bytes. Here, the BT chipset CC256x had
180 bytes MTU and it was being under-utilized and the rate at which
the samples were being accepted where not matching the expected rate,
and hence the distortion.

Solution: The appropriate solution to this problem is by reading the
MTU size of the SCO socket using getsockopts dynamically.

BugLink: http://bit.ly/2gDpGPv
BugLink: http://bit.ly/2hQsARK
2017-01-19 03:00:45 +02:00
..
alsa don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
bluetooth bluetooth: fix distorted audio during Bluetooth SCO HFP/HSP playback 2017-01-19 03:00:45 +02:00
dbus dbus: Deal with double-counting module-dbus-protocol 2016-05-29 10:36:47 +05:30
echo-cancel don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
gconf modules: Fix struct namespace collision on Solaris 2015-07-29 08:09:41 +05:30
jack don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
macosx don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
oss don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
raop rtp: New pa_rtsp_options function 2017-01-19 02:56:53 +02:00
rtp rtp: Introduce pa_rtsp_exec_ready() 2017-01-19 02:56:53 +02:00
x11 x11-bell: ignore volume from X11 2017-01-19 03:00:45 +02:00
ladspa.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
Makefile build-sys: readd stub makefiles to subdirectories to make building with emacs easier 2012-05-15 14:17:58 +02:00
module-allow-passthrough.c allow-passthrough: Use pa_module_hook_connect() 2016-06-22 12:55:54 +05:30
module-always-sink.c always-sink: simplify hook management with pa_module_hook_connect() 2015-12-21 05:37:28 +02:00
module-augment-properties.c conf-parser: add support for .d directories 2015-12-14 13:45:39 +01:00
module-card-restore.c card-restore: don't switch profiles when availability changes 2016-08-10 21:37:33 +03:00
module-cli.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-combine-sink.c don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
module-combine.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-console-kit.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-default-device-restore.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-defs.h.m4 Remove pa_bool_t and replace it with bool. 2013-07-04 12:25:30 +03:00
module-detect.c detect: Don't deprecate module-detect on non-Linux systems 2016-04-25 19:44:10 +03:00
module-device-manager.c module-device-manager: Refine logic to ignore filtered streams 2016-05-07 11:02:01 +05:30
module-device-restore.c module-*-restore: use pa_module_hook_connect 2015-04-10 09:26:40 +02:00
module-equalizer-sink.c equalizer: Handle underlying sink going away better when autoloaded 2015-06-12 12:43:18 +05:30
module-esound-compat-spawnfd.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-esound-compat-spawnpid.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-esound-sink.c don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
module-filter-apply.c module-filter-apply: Fix stale m-d-m property name in comment 2016-05-11 09:20:26 +05:30
module-filter-heuristics.c module-filter-*: use pa_module_hook_connect 2015-04-10 09:26:47 +02:00
module-hal-detect-compat.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-intended-roles.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-ladspa-sink.c modules: Use pa_assert_se() to check return value of dbus_message_iter_close_container() 2016-08-15 23:53:34 +02:00
module-lirc.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-loopback.c don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
module-match.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-mmkbd-evdev.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-native-protocol-fd.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-null-sink.c don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
module-null-source.c don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
module-pipe-sink.c don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
module-pipe-source.c don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
module-position-event-sounds.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-protocol-stub.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-remap-sink.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-remap-source.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-rescue-streams.c rescue-streams : Fix a typo 2016-02-02 14:56:36 +05:30
module-role-cork.c role-cork: prepare merge with role-ducking: replace "cork" with "interact" where appropriate 2016-03-15 13:02:04 +02:00
module-role-ducking.c role-ducking: Add support for ducking group 2016-04-20 16:31:31 +03:00
module-rygel-media-server.c Rename functions with "tostring" in the name to one with "to_string" to conform with the convention. 2015-09-25 17:29:02 +05:30
module-sine-source.c don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
module-sine.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-solaris.c don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
module-stream-restore.c stream-restore: With dbus-proto fix segfault if e->device is NULL. 2016-04-29 15:52:51 +03:00
module-suspend-on-idle.c suspend-on-idle: use earlier (safer) hooks for stream unlink notifications 2016-12-20 01:26:41 +02:00
module-switch-on-connect.c module-switch-*: use pa_module_hook_connect 2015-04-10 09:26:49 +02:00
module-switch-on-port-available.c switch-on-port-available: prefer ports that have been selected by the user 2016-05-03 11:49:35 +05:30
module-systemd-login.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-tunnel-sink-new.c don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
module-tunnel-source-new.c don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
module-tunnel.c don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
module-udev-detect.c Rename functions with "tostring" in the name to one with "to_string" to conform with the convention. 2015-09-25 17:29:02 +05:30
module-virtual-sink.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-virtual-source.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-virtual-surround-sink.c lfe-filter: change the crossover frequency as a parameter 2015-03-30 10:52:30 +02:00
module-volume-restore.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-waveout.c don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
module-zeroconf-discover.c zeroconf-discover: fix a memory leak 2016-09-21 12:25:15 +03:00
module-zeroconf-publish.c zeroconf-publish: fix unitialized DBusError 2017-01-12 14:10:13 +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 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 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
stream-interaction.c stream-interaction: Fix a memory leak 2016-08-10 22:23:02 +05:30
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