Revert "Enable FastTrack timestamps"
This reverts commit b3a486fecddc9e9264fe63d356eca0812493db27.
Reverting while investigating the root cause.
Bug: 27186414
diff --git a/services/audioflinger/Tracks.cpp b/services/audioflinger/Tracks.cpp
index 1a48e07..b719046 100644
--- a/services/audioflinger/Tracks.cpp
+++ b/services/audioflinger/Tracks.cpp
@@ -596,11 +596,6 @@
return mAudioTrackServerProxy->framesReleased();
}
-void AudioFlinger::PlaybackThread::Track::onTimestamp(const AudioTimestamp ×tamp)
-{
- mAudioTrackServerProxy->setTimestamp(timestamp);
-}
-
// Don't call for fast tracks; the framesReady() could result in priority inversion
bool AudioFlinger::PlaybackThread::Track::isReady() const {
if (mFillingUpStatus != FS_FILLING || isStopped() || isPausing()) {
@@ -863,7 +858,7 @@
status_t AudioFlinger::PlaybackThread::Track::getTimestamp(AudioTimestamp& timestamp)
{
- // FastTrack timestamps are read through SSQ
+ // Client should implement this using SSQ; the unpresented frame count in latch is irrelevant
if (isFastTrack()) {
return INVALID_OPERATION;
}