Skip to content
Snippets Groups Projects
Commit c1a2722a authored by shihchienc's avatar shihchienc Committed by Patrick Chang
Browse files

[LE Audio] Handle later join case for 32k bidirectional dual mic

In conversational mode, when we disable 32k bidirectional dual mic,
we select other configs like 16k bidirectional dual mic.

However, when users connect to only one bud while they put one earbud
back into cases, we select single device on 32k, which is not suitable.

This is because CIG is already configured for 16k but when there is
only one device connected, we choose 32k for single device, and this
will make us removing CIG and create CIG again.

The user experience is not good as the audio will stop for some time.
This patch handles this case.

Also, not insert config to the mpa when it is empty.

Bug: 298946279
Test: check early exit and later join on conversational streaming
Test: atest -c bluetooth_le_audio_test bluetooth_le_audio_client_test
Change-Id: I50a0ccc0906a2c3edefcfa553224498e87a54267
parent 7f7d8d59
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment