pulseaudio/src/modules/bluetooth
Igor V. Kovalenko 9916f0eace bluetooth: mSBC: Decode packets larger than mSBC frame
Bluetooth transport layer already allows for packets larger than mSBC frame, and
there are up to 1 + MTU / (mSBC packet size) complete frames to be decoded from
each incoming SCO packet.

Now decoder fails when there is more than one complete frame available, which
could happen if MTU size is larger than 1.5 * (mSBC packet size) = 90

Fix this by adding a loop over avialable frames, and adjust decoded buffer size
to allow decoding up to 1 + MTU / (mSBC packet size) frames at once.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/706>
2022-05-27 17:42:38 +00:00
..
a2dp-codec-api.h bluetooth: split BT codec from A2DP SEP configuration api 2021-04-05 15:43:32 +00:00
a2dp-codec-aptx-gst.c bluetooth/gst: Timestamp encoding buffers according to PA clock 2022-02-21 12:33:18 -05:00
a2dp-codec-gst.c bluetooth/gst: Timestamp encoding buffers according to PA clock 2022-02-21 12:33:18 -05:00
a2dp-codec-gst.h bluetooth/gst: Timestamp encoding buffers according to PA clock 2022-02-21 12:33:18 -05:00
a2dp-codec-ldac-gst.c bluetooth/gst: Timestamp encoding buffers according to PA clock 2022-02-21 12:33:18 -05:00
a2dp-codec-sbc.c bluetooth: Make sure there is at least one SBC frame to encode 2022-05-16 18:01:39 +00:00
a2dp-codec-util.c bluetooth: split BT codec from A2DP SEP configuration api 2021-04-05 15:43:32 +00:00
a2dp-codec-util.h bluetooth: split BT codec from A2DP SEP configuration api 2021-04-05 15:43:32 +00:00
a2dp-codecs.h bluetooth: Update a2dp-codecs.h from upstream bluez project 2019-04-12 13:56:28 +03:00
backend-native.c bluetooth/backend-native: Replace tab-indents with spaces 2021-11-17 15:25:00 +00:00
backend-ofono.c bluetooth: Only remove cards belonging to the device. 2021-08-25 15:20:57 +00:00
bluez5-util.c bluetooth: Demote "No such property 'Volume'" error to warning 2022-05-23 15:19:44 +00:00
bluez5-util.h bluetooth: Consider adapter UUIDs when evaluating profile support 2021-10-06 15:07:00 +00:00
bt-codec-api.h bluetooth: split BT codec from A2DP SEP configuration api 2021-04-05 15:43:32 +00:00
bt-codec-cvsd.c bluetooth: split BT codec from A2DP SEP configuration api 2021-04-05 15:43:32 +00:00
bt-codec-msbc.c bluetooth: mSBC: Decode packets larger than mSBC frame 2022-05-27 17:42:38 +00:00
bt-codec-msbc.h bluetooth: add support for mSBC codec 2021-04-05 15:43:32 +00:00
meson.build build-sys: meson: Require bluez dependency if bluez5 feature is enabled 2021-06-21 10:50:08 +00:00
module-bluetooth-discover.c bluetooth: Remove leftover references to the BlueZ 4/5 split 2018-07-27 11:28:11 +03:00
module-bluetooth-policy.c bluetooth: complete bluetooth profile separation 2021-02-23 06:54:39 +00:00
module-bluez5-device.c bluetooth: Allow bluetooth to use alternative smoother code 2021-11-03 21:13:38 +00:00
module-bluez5-discover.c bluetooth: Add avrcp_absolute_volume module flag for disablement 2021-05-17 14:50:03 +00:00
rtp.h bluetooth: Rename rtp_sbc_payload to rtp_payload 2022-02-21 12:15:47 +05:30