Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bd2b23af authored by Hans Månsson's avatar Hans Månsson Committed by Edward Savage-Jones
Browse files

audio_hal/hidl: Don't fallback to SW encoding when HW is supported

The following commit:

 29d38ad3 Add support for Opus in BT Audio HAL

Added
BTAV_A2DP_CODEC_INDEX_SOURCE_LC3
BTAV_A2DP_CODEC_INDEX_SOURCE_OPUS
BTAV_A2DP_CODEC_INDEX_SINK_OPUS
to the available codecs.

This causes UpdateOffloadingCapabilities to return early with failure
when handling these new cases.

As android.bluetooth.audio@2.[10] hidl interface does not support
these new codecs, they can be handled by not adding the codecs to
codec_mask and printing a warning.

Bug: 258775933
Test: See issue
Change-Id: Iead2ad344e02ff8d2be3630e493b4bc86c4ad919
parent 069a7c41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment