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
Loading
Please register or sign in to comment