commit | 06871bb3bcd9cb9b9cabb8b7fbf135f4d6b249b9 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Tue Jun 30 21:27:52 2020 -0700 |
committer | jiabin <jiabin@google.com> | Sat Jul 18 09:40:23 2020 -0700 |
tree | 9c49bbd40fe94a619e1b8e3ce1d6a2fd4564167e | |
parent | 779db1674889a8f2db15838ec1278a7d16869c69 [diff] |
Add function for scaling haptic data. The function was in AudioMixer. With adding haptic-generating effect, there will be more than one place calling the scaling function. In that case, it makes more sense to put the scaling function in vibrator library. Bug: 136490803 Test: play audio-coupled-haptic files Test: play audio with attaching haptic-generating effect Change-Id: Ia7f88463e2d2b7f11954ab9bb6aeff8191c78894