commit | a0129612ed5a335de8838f88ddddfaf948a5993c | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Sun Dec 09 13:07:40 2018 -0800 |
committer | jiabin <jiabin@google.com> | Sun Dec 09 13:07:40 2018 -0800 |
tree | 3aa3da2e8f75c77ad349800b83fe2906253e7744 | |
parent | 01fb624e0921b0622b9b33339adad9f205714cef [diff] |
Add channel mask in SoundPool sample. There may be channel mask information after extracting from files. For instance, haptic-audio coupled ogg file. In that case, it is preferred using that channel mask directly to create AudioTrack instead of using channel count to calculate a channel mask. Test: manully test with playing with SoundPool. Bug: 111454766 Change-Id: I0483365cbc1b93587d1c4738b0ed25b2d800718d