bluetooth: Make sure there is at least one SBC frame to encode

System Internals / PulseAudio - Igor V. Kovalenko [gmail.com] - 16 May 2022 18:01 UTC

If SBC frame plus RTP header exceeds MTU size, let block size be at least one frame to make sure bluetooth code can make progress reading and writing data.

Part-of:

a4e690bda bluetooth: Make sure there is at least one SBC frame to encode
src/modules/bluetooth/a2dp-codec-sbc.c | 8 ++++++++
1 file changed, 8 insertions(+)

Upstream: cgit.freedesktop.org


  • Share