mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
bluez5: enable duplex for aptx-ll
aptX-LL sink devices may send back mSBC encoded data corresponding to microphone input. It appears to be enabled when the bidirectional link is set in the caps, and the device also supports this. Implement mSBC decoding in the duplex channel. Tested to be working on Avantree Aria Pro.
This commit is contained in:
parent
623b6df8a2
commit
dedc08cdf8
7 changed files with 208 additions and 4 deletions
|
|
@ -173,6 +173,7 @@ extern "C" {
|
|||
* of the input (number of PCM samples) and output is known up front. */
|
||||
#define MSBC_DECODED_SIZE 240
|
||||
#define MSBC_ENCODED_SIZE 60 /* 2 bytes header + 57 mSBC payload + 1 byte padding */
|
||||
#define MSBC_PAYLOAD_SIZE 57
|
||||
|
||||
enum spa_bt_profile {
|
||||
SPA_BT_PROFILE_NULL = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue