bluetooth: allow increasing output bitrate

System Internals / PulseAudio - Igor V. Kovalenko [gmail.com] - 21 January 2021 15:10 UTC

Bluetooth thread may ask encoder to reduce bitrate if writing is not keeping up with inputs or writing to bluetooth socket takes too much time.

Assuming conditions leading to reduced bitrate are intermittent, allow periodic attempts to increase encoder bitrate, by default at most twice per second.

Part-of:

969951121 bluetooth: allow increasing output bitrate
src/modules/bluetooth/a2dp-codec-api.h | 5 +++++
src/modules/bluetooth/bluez5-util.h | 1 +
src/modules/bluetooth/module-bluez5-device.c | 28 ++++++++++++++++++++++++++++
3 files changed, 34 insertions(+)

Upstream: cgit.freedesktop.org


  • Share