diff options
author | Phil Burk <philburk@google.com> | 2015-04-22 10:52:21 -0700 |
---|---|---|
committer | Phil Burk <philburk@google.com> | 2015-04-29 23:36:01 +0000 |
commit | 1b42097f38e72574ed853a35f4e8a66e4739c421 (patch) | |
tree | e708293755e42bca48d47380b8b8568cfc3d2f1f /services/audioflinger/PlaybackTracks.h | |
parent | 5f88cdae61079be7920aee166eaac4941f65fb9f (diff) | |
download | frameworks_av-1b42097f38e72574ed853a35f4e8a66e4739c421.zip frameworks_av-1b42097f38e72574ed853a35f4e8a66e4739c421.tar.gz frameworks_av-1b42097f38e72574ed853a35f4e8a66e4739c421.tar.bz2 |
AudioTrack: fix spurious retrograde messages
The retrograde motion was confused by some positions coming from
the DSP on offloaded tracks. So the retrograde check was moved up
into AudioTrack.cpp. This allows us to take advantage of the checks
for invalid positions based on timing.
Bug: 2047891
Change-Id: Ifcad2349201443a7f1711347c203297100449536
Signed-off-by: Phil Burk <philburk@google.com>
Diffstat (limited to 'services/audioflinger/PlaybackTracks.h')
-rw-r--r-- | services/audioflinger/PlaybackTracks.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/services/audioflinger/PlaybackTracks.h b/services/audioflinger/PlaybackTracks.h index c51021b..7bc6f0c 100644 --- a/services/audioflinger/PlaybackTracks.h +++ b/services/audioflinger/PlaybackTracks.h @@ -156,11 +156,6 @@ private: bool mResumeToStopping; // track was paused in stopping state. bool mFlushHwPending; // track requests for thread flush - // for last call to getTimestamp - bool mPreviousTimestampValid; - // This is either the first timestamp or one that has passed - // the check to prevent retrograde motion. - AudioTimestamp mPreviousTimestamp; }; // end of Track class TimedTrack : public Track { |