commit | 82b657f45c39cc22adc13b1fcb16c42ec9228336 | [log] [tgz] |
---|---|---|
author | Wei Jia <wjia@google.com> | Tue Feb 12 18:11:36 2019 -0800 |
committer | Wei Jia <wjia@google.com> | Tue Feb 12 18:15:00 2019 -0800 |
tree | 6c2d49631fa56bcc18992980b90cbff3499bb1cb | |
parent | bceab46baa96f4b0f77707ec7e1f08c083f6fd14 [diff] |
Fix bugs regarding clamping of numFrames variable. there is a clamping value in getDurationUsIfPlayedAtSampleRate function numFrames parameter is uint32_t type. when return value, cast uint32_t to int32_t. that make clamp value of numFrames Test: compiles Bug: 123665692 Change-Id: I12e35df3030659bc10b3e86ed9d1712be6b62a88