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

Skip to content
Commit d8c49276 authored by Patty's avatar Patty
Browse files

Add codec parameters to BluetoothLeAudioCodecConfig

1. Add the APIs for users to create the codec config with all the
   parameters that define for the LE Audio codec, and some of the
   parameters will be configurable through the developer options,
   these APIs will be used by Settings to set for the proper value
   and send it to the LE Audio service.
   - codec priority
   - sample rate
   - bits per sample
   - frame duration
   - octets per frame
   - channel mode

2. In order to pass BluetoothLeAudioCodecConfig among activities,
   add the required functions to implement the Parcelable interface.
3. Add functions to get above parametes's value
4. Update builder function
5. Update JNI layer prototype

Tag: #feature
Bug: 214233080
Bug: 150670922
Test: atest BluetoothLeAudioCodecConfigTest BluetoothInstrumentationTests
Change-Id: Ia87949681937407daed4abdd0f7aff34d04e5f09
parent 966c88d1
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