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

Skip to content
Commit b99f7ece authored by Łukasz Rymanowski's avatar Łukasz Rymanowski Committed by Jack He
Browse files

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 470384a0)
parent 599bf26c
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