diff options
author | Bertil Akesson <bertil.akesson@sonymobile.com> | 2013-11-22 12:32:58 +0100 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-30 20:27:52 -0800 |
commit | 8a55244e9847fba8252933ced56b56ecc77204eb (patch) | |
tree | 1d40745122ae594959f8a1296df1e698cf3c19cf /radio/Android.mk | |
parent | 118bc1d9282358cb203ad1520ab84054a818cde4 (diff) | |
download | frameworks_av-8a55244e9847fba8252933ced56b56ecc77204eb.zip frameworks_av-8a55244e9847fba8252933ced56b56ecc77204eb.tar.gz frameworks_av-8a55244e9847fba8252933ced56b56ecc77204eb.tar.bz2 |
Correct the time returned by AudioPlayer::getMediaTime
The change 80a68deec52c9a1b47215ed68526206ec88197f8 was added to
eliminate returning negative media positions.
In the change all negative values of realTimeOffset were discarded.
The value realTimeOffset accounts for the latency and the
number of samples played since last feeding the AudioTrack and is
generally negative. By discarding this value for negative values the
time returned does not account for latency or the number of samples
played.
Change-Id: I470450934228732e34539c227365a225be74ccc8
Diffstat (limited to 'radio/Android.mk')
0 files changed, 0 insertions, 0 deletions