BluetoothAudioSession utility supports latency control functions, so
audio_bluetooth_hw can get / set the LatencyMode easily.
Bug: 214615268
Bug: 218708371
Test: build
Tag: #feature
Change-Id: Ia85581c74fc91f406309539755d60d36c173f5e0
We want our ternary conditional to evaluate before the << operator,
so we use parenthesis to make this happen.
Bug: 214615268
Test: TreeHugger
Change-Id: I0efb22487d0cf3778f8a12d2391a0f1a7a87995d
- Add some comments to describe the supported scenario
- Correct the config from mono to stereo, when only one device is
connected, mono only need one audio channel, for stereo case,
support 2 audio channels.
Tag: #feature
Bug: 203535499
Bug: 150670922
Test: make build
Change-Id: Id3ea1e96a6b4fd7a209a015fb5c475465e300cdb
* seperate the provider for unicast and broadcast
* add handle for the audio configuration broadcast offload
Bug: 150670922
Test: make
Tag: #feature
Change-Id: Ie41496be24e3742b2f1fa438bc4ed4b127e72dd0
* Extract broadcast as separate session type
* Remove the union from LeAudioConfiguration, but use it
for unicast configuration only
* Simplify default implementations
Bug: 15067092
Test: make
Tag: #feature
Change-Id: Ib6c3ffb6396a71011abb03a374e58ce27fdf3f39
For the offload case, the updateTrackMetadata would be triggered by the
audio HAL, extend the support for audio session 2.2 control
Bug: 197296692
Bug: 150670922
Test: make build
Change-Id: If1589b95bdec98d41c122da2c47ab53719af8425
- Add some comments to describe the supported scenario
- Correct the config from mono to stereo, when only one device is
connected, mono only need one audio channel, for stereo case,
support 2 audio channels.
Tag: #feature
Bug: 203535499
Bug: 150670922
Test: make build
Change-Id: I6dacca8965f48ed58506b63f8d3939afb6f5b1b6
For LE audio hardware offload
1. Add the function to update audio configuration without session
restart
2. Add a callback to notify the audio HAL the audio configuration
changed
Bug: 197296692
Bug: 150670922
Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio
software media/voip call
Change-Id: I8b01ec8dfc9d9cd552770c8c734319a685ee626b
1. Add function getProviderCapabilities_2_2
to return audio capability
2. Add function GetLeAudioOffloadCodecCapabilities
to get le audio offload capability
3. Add LeAudioCapability in HAL 2.2
Tag: #feature
Bug: 203535499
Bug: 150670922
Test: atest BluetoothInstrumentationTests
Change-Id: Ied2d0c8c0bdaa4b8d0c149b5164ba346e4df5ae1
1. The audio driver need to get the session status callback as the
sessionEnded
2. Update the invalid audio configuration based on the session type
Bug: 197296692
Bug: 150670922
Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio
software media/voip call
Test: Turn on/off bluetooth to make sure the onSessionEnded work well
Change-Id: Id758b556e8f5c9b63052a408154f02082515091c
1. Clean up the LE offlload path for HIDL 2.1
2. Add support offload path start/suspend/stop function with HIDL 2.2
Bug: 197296692
Bug: 150670922
Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio
software media/voip call
Change-Id: I2295b62fc2255d247f18f0852de2b40e6280d282
LE audio offload plan to fully support on aidl or temporal HAL 2.2. Remove it in HAL 2.1 to make the compatible work easier
Bug: 197296692
Bug: 150670922
Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio
software media/voip call
Change-Id: Icc68bea357d2ee0427826e0c20888399662e9bcb
When just microphone is enabled, i.e. for recording audio, we will
receive just sink metadata update.
Bug: 150670922
Change-Id: I795385d19e64ec5c6bc0a8549beda52da27d25a1