diff options
author | Ćukasz Rymanowski <rlukasz@google.com> | 2022-01-19 20:04:59 +0000 |
---|---|---|
committer | Jack He <siyuanh@google.com> | 2022-02-02 15:17:34 -0800 |
commit | b99f7eced58e8e722366ce364a8a2eef4e4449e0 (patch) | |
tree | 7920d644262d8b1c1f48f85070bb3a0ad48ff70b /framework/java/android/bluetooth/BluetoothHapClient.java | |
parent | 599bf26cd0f785ce41185d43df5debc25533a7d9 (diff) |
leaudio: Improve Volume Control API
On the Le Audio device absolute volume is set via
BluetoothLeAudio.setVolume API. LeAudioService knows which group is the
active group and using BluetoothVolumeControl.setVolumeGroup() API apply
absolute volume.
Each LeAudio device is a part of the group.
In order to support audio balance between e.g. left and right earbud
setVolumeOffset should be use per each device.
This change also allows user to register for the callback which will
be invoked when the volume offset changes on the remote device.
Bug: 150670922
Tag: #feature
Sponsor: @jpawlowski
Test: atest BluetoothInstrumentationTests
Change-Id: I3692e45d285d55d946ae0de187aa1d5261f825b8
Merged-In: I3692e45d285d55d946ae0de187aa1d5261f825b8
(cherry picked from commit 470384a052a972bebe52483de0099d9d0f47b343)
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothHapClient.java')
0 files changed, 0 insertions, 0 deletions