Skip to content
Commit b9e1d45b authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

AudioService: fix VolumeShaper operation for muteAwaitConnection

PlaybackActivityMonitor defines a VolumeShaper configuration to
be used for mute/unmute for the muteAwaitConnection feature. It
define a 100ms ramp that is supposed to be skipped for muting
(by using X offset to end of ramp) and used for unmuting.
Offset in the end of the ramp is defined in the PLAY_SKIP_RAMP
Configuration, was documented at line 93 in the initialization
of MUTE_AWAIT_CONNECTION_VSHAPE, but wasn't used when muting
in maybeMutePlayerAwaitingConnection.

AudioService.java: better logs of feature.

Bug: 229814445
Test: repro in bug

Change-Id: Id6d28f5ecd7edf9d7afb834f295a5b7388319bde
parent 112906ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment