diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2017-05-16 17:59:54 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2017-05-18 16:50:44 +0000 |
commit | 2e48fb55122ad11f7416a65b04034ef30c3a42f5 (patch) | |
tree | 4d7a6788e5794810d8f5d448d09e5a6ac5f2a032 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 8d87842690c617772968ab887dce221e328b6f89 (diff) |
Audio focus: start players in ducked state when focus is already lost
The volume ramp for ducking is only to be heard when a player is
playing while focus is lost. When a player is starting when
focus is already lost (and ducking is applicable), it should
play at the same level as that reached after a duck. This is
implemented using the VolumeShaper.Operation time offset
(a.k.a. XOffset), set to 1, i.e. the end of the duck.
Test: see bug
Bug: 38353147
Change-Id: Iec36fbe002b183d6d70c258d9ab26b577dc1d2ce
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions