summaryrefslogtreecommitdiff
path: root/bluetooth/audio/utils/aidl_session/BluetoothAudioSession.cpp
AgeCommit message (Collapse)Author
2022-09-20Add soft_audio_configuration_changed_cb_ to handle the streamMap changedAlice Kuo
Based on the stream status and Bluetooth Audio Session to switch the different configuration_changed_cb_ notifcation. audio_configuration_changed_cb_ for the context type handover case soft_audio_configuration_changed_cb_ for the streamMap changed during media stream case Bug: 231084798 Test: LE audio offload later join and disappear with downmix enable Change-Id: I199c2b765b128875fb2c66abb1a500e4a6c820b7 Merged-In: I199c2b765b128875fb2c66abb1a500e4a6c820b7 (cherry picked from commit 851ef342ede367375ea46215cfdf3a449e7b8ef4)
2022-07-14Supoort audio configuration update to audio HAL for broadcast offloadAlice Kuo
Bug: 210987580 Test: start the broadcast offload, check log Change-Id: Iadae625d10ad179089b952ac94ff66ae90a6236e Merged-In: Iadae625d10ad179089b952ac94ff66ae90a6236e (cherry picked from commit 36a879796bb046a5261d9862a69776f2bba94466)
2022-07-13Bluetooth audio hal check broadcast configuraiton for the broadcast offloadAlice Kuo
The patch contains the following changes 1. Check the broadcast audio configuration as starting broadcast offload session 2. Update audio configuration checker for broadcast offload 3. Remove the IsOffloadLeAudioConfigurationValid function that the audio configuraiton is invalid as session started, so we don't need to check it at that time Bug: 210987580 Test: start the offload broadcast stream, and check the session status Change-Id: I60b1b506051873f6d942f2febace6562634fc12a Merged-In: I60b1b506051873f6d942f2febace6562634fc12a (cherry picked from commit ee398a93f564e515051932dfd3801081426b1ae8)
2022-03-29Add A2dp decode software and offload session typeAlice Kuo
1. Add the interface 2. Add the default implementation 3. Add VTS Bug: 206601670 Test: atest VtsHalBluetoothAudioTargetTest Change-Id: I54d8037eeb09312c9f1fb75d2167cc50ac7cae8c
2022-03-14SpatialAudio: fix crashes in BluetoothAudioSessionChen Chen
Bug: 224578221 Bug: 214615268 Test: build Change-Id: I0fd7e0887200e39dc996b0d84de421ec13897e94
2022-03-08SpatialAudio: Export LatencyMode functions to BluetoothAudioSessionCheney Ni
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
2022-02-24SpatialAudio: Init codec and buffer size from startStream()Chen Chen
Bug: 214615268 Test: build Tag: #feature Change-Id: I26d82da0dfc82fcb6cab6b879bced8e892e8cf44
2022-02-14Merge "SpatialAudio: Remove codec interface from audio HAL. Codec switch ↵Chen Chen
logic will be inside Bluetooth"
2022-02-11SpatialAudio: Remove codec interface from audio HAL. Codec switch logic will ↵Chen Chen
be inside Bluetooth Bug: 214615268 Test: Build Tag: #feature Change-Id: Ic2a997614e16abfd745c80dc87ecf5d340497691
2022-02-11Use parens to fix outputGreg Kaiser
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
2022-02-11Merge "Spatial Audio: Implement setLowLatencyAllowed functions in ↵Chen Chen
BluetoothAudioSession"
2022-02-10Spatial Audio: Implement setLowLatencyAllowed functions in BluetoothAudioSessionChen Chen
Bug: 214615268 Test: Build: Tag: #feature Change-Id: I01c182b46fe72ee8f7c8e12e59ea2413c423b061
2022-02-10Merge changes from topic "bt-broadcast-aidl"Treehugger Robot
* changes: BT: Broadcast AIDL more handle on the default implementation BT: Broadcast AIDL simplification
2022-02-09BT: Broadcast AIDL more handle on the default implementationAlice Kuo
* seperate the provider for unicast and broadcast * add handle for the audio configuration broadcast offload Bug: 150670922 Test: make Tag: #feature Change-Id: Ie41496be24e3742b2f1fa438bc4ed4b127e72dd0
2022-02-08Spatial Audio: Add setLatencyMode and setCodecType API with emptyChen Chen
implementation Bug: 216832331 Test: build Tag: #feature Change-Id: I0ccfee39d1f86da81b50f0757de87b6645baacf8
2022-01-23BtAudio: Improve LE offload compatabilityJosh Wu
Bug: 203490261 Test: m android.hardware.bluetooth.audio-V1-impl Change-Id: I7dd37cb697b03bb5fe0bdc467f8e190575e0e2e1
2022-01-21BtAudio: Fix default implementation typosJosh Wu
Bug: 203490261 Test: m android.hardware.bluetooth.audio-V1-impl Change-Id: I80f39d844ec5bb44830341f310143b3626593d79
2022-01-17Add Bluetooth Audio AIDL utilsJosh Wu
Test: manual Bug: 203490261 Change-Id: Ia299a61e89273ea1c9d132425598975418f57a03