This series of patch allows to manage the bandwidth used by an A2DP source using SBC encoder by adding ability to change the bitpool dynamically during runtime. In a crowded environment this can allow to limit interference between source and headphones. An external application should be able to control the SBC bitrate of up to 300 BT transmitters in a noisy and possibly RF perturbed environment, for which it can get the statistics for dropouts, and if it gets too high, reduce the quality either globally, or across a physically-adjacent set of transmitters. This needs "Message API v2" patches from Georg Chini [1] I am currently not sure in patch 2 where should occur the SBC bitpool apply. Since V1: - Added patch 3 to expose number of bytes skipped for the A2DP connection. Any comments appreciated. [1] https://gitlab.freedesktop.org/pulseaudio/pulseaudio/merge_requests/51 Frédéric Danis (3): bluetooth: Add message to get/set A2DP codec configs bluetooth: Add SBC get/set config message support bluetooth: Add skipped bytes statistic message src/modules/bluetooth/a2dp-codec-api.h | 10 ++++ src/modules/bluetooth/a2dp-codec-sbc.c | 47 +++++++++++++++ src/modules/bluetooth/module-bluez5-device.c | 63 ++++++++++++++++++++ src/pulsecore/core-util.h | 7 +++ 4 files changed, 127 insertions(+) -- 2.18.0 _______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss