commit | 2da2736a4f13ea83c83007b011ba25fa01c8dda4 | [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> | Sun Mar 25 08:57:11 2018 -0700 |
tree | 28171e19dc69f3ecb796770d4d284c25bd203de2 | |
parent | d9076754ce33af0b6f6514cc5d1d2260d912353a [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