commit | d4633767ade9aeaf833a5ca6b902d83f10fedf06 | [log] [tgz] |
---|---|---|
author | Weiyin Jiang <wjiang@codeaurora.org> | Fri Mar 16 12:05:03 2018 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Mar 19 02:38:09 2018 -0700 |
tree | 0b7493caff9aae71bac04a89fc9b6135290c7bc3 | |
parent | ba3b49dfc3c1fef1e590fd361ee72a0517662c69 [diff] |
audio: revert the calculation of out_get_presentation_position Revert the calcaulation of out_get_presentation_position for ULL/MMAP streams as it used to be. This fixes frame being reset during standby. Using hw_ptr instead of frames written causes a state mismatch between HAL and AudioFlinger leading spurious error reported by AudioTrack. CRs-Fixed: 2207829 Change-Id: I3701b8f440651313659cd2b917230ff78542e1b4