commit | 245cdd91559873aeacf21b7c780655ef43c01682 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Fri Dec 07 17:55:15 2018 -0800 |
committer | jiabin <jiabin@google.com> | Wed Dec 12 11:33:47 2018 -0800 |
tree | 336ec5eaea56659c21e9441c0d2b5a03102b9b32 | |
parent | dce8f8cc41cb6be63d13ad0099d61807746ff5d7 [diff] |
Support audio-haptic coupled playback. When trying to play with haptic channel mask, use adjust channels buffer provider to make the haptic channel the same as the output one. If haptic playback is supported, use adjust channel non destructive buffer provider to output haptic data to the end of the sink buffer. Otherwise, haptic data will be ignored. Test: Manually Bug: 111454766 Change-Id: Ic5f780de48c1e71de6ba5c4774d1ed2e9c8c51a0