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:
Pauli Virtanen 2021-08-18 17:19:05 +03:00
parent 623b6df8a2
commit dedc08cdf8
7 changed files with 208 additions and 4 deletions

View file

@ -27,7 +27,7 @@ properties = {
#bluez5.headset-roles = [ hsp_hs hsp_ag hfp_hf hfp_ag ]
# Enabled A2DP codecs (default: all).
#bluez5.codecs = [ sbc aac ldac aptx aptx_hd aptx_ll sbc_xq ]
#bluez5.codecs = [ sbc aac ldac aptx aptx_hd aptx_ll aptx_ll_duplex sbc_xq ]
# Properties for the A2DP codec configuration
#bluez5.default.rate = 48000