AudioService: correct BT A2DP abs volume curve for low levels
When BT A2DP absolute volume is used, media volume steps 1,2,3 are controlled by the framework. This change makes step 1 more useable by making it slightly louder, and decreases the volume change step for 2 and 3. Bug: 176463546 Test: use A2DP device with abs vol, and change media vol to 1/2/3 Change-Id: I109ed63ec8acdee30c90eaeb6778e578e3398526
This commit is contained in:
@@ -572,9 +572,9 @@ public class AudioService extends IAudioService.Stub
|
||||
|
||||
// Pre-scale for Bluetooth Absolute Volume
|
||||
private float[] mPrescaleAbsoluteVolume = new float[] {
|
||||
0.5f, // Pre-scale for index 1
|
||||
0.7f, // Pre-scale for index 2
|
||||
0.85f, // Pre-scale for index 3
|
||||
0.6f, // Pre-scale for index 1
|
||||
0.8f, // Pre-scale for index 2
|
||||
0.9f, // Pre-scale for index 3
|
||||
};
|
||||
|
||||
private NotificationManager mNm;
|
||||
|
||||
Reference in New Issue
Block a user