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

Skip to content
Commit 1caee667 authored by Cheney Ni's avatar Cheney Ni
Browse files

A2dpCodecs: apply the encoder settings via encoder_interface->encoder_init

Because the stack supports a single A2DP encoding instance which usually
needs to be initialized again after reconfig, the new codec config
should not apply to this encoder directly. It should go through
BTIF_A2DP_Source to set up the codec by one of those encoder_interface
encoder_init APIs, so the input and output format are consistent with
its configuration.

Bug: 195498246
Tag: #compatibility
Test: atest net_test_stack
      Switch A2DP codec manually
Change-Id: Ic9143b7cf91bf57df926c97fd7f3690da6227126
parent c474b971
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