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

Skip to content
Commit b43465af authored by Jakub Tyszkowski's avatar Jakub Tyszkowski
Browse files

LeAudio: Ase configuration data refactor - part 2

Continue the configuration alignment to match the requirements of the
new approach to audio set configrations, supporting the new multi-codec
AIDL configuration provider interface.

In Part 2, the previously isolated TopologyInfo is now removed as there
is no equivalent information from the AIDL config provider, additionally:

 - device_count from the cached configurations were removed from the
   audio set reconfiguration code path and the CSIS group size is being used
   for  ASE activation and channel allocation selection
 - since the dependency to device_cnt in json configurations were
   removed, SingleDev and DualDev configurations flavors became the same
   configurations. This unbloated the *json file as almost one third of the
   configuration entries became duplicates,
 - a more meaningful configuration naming scheme is introduced, due to the
   previous one being dependent on the device count which is now
   removed,
 - the `strategy` based configuration selector is left for the legacy static
  .json file configuration provider (the non-AIDL path), but the `strategy`
  is now derived from parameters like ASE count and channel count per ASE

Bug: 308428860
Bug: 295972694
Test: atest --host bluetooth_le_audio_test bluetooth_le_audio_client_test bluetooth_test_broadcaster bluetooth_test_broadcaster_state_machine bluetooth_le_audio_codec_manager_test
Flag: Exempt; Non-flagable change in .json. Confirmed with unit tests and manual testing
Change-Id: Ie9bdbee14f8c3d5e5ddd10c627a654213ce00b40
parent 16c0ec14
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