summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Threads.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2013-09-20 09:36:34 -0700
committerEric Laurent <elaurent@google.com>2013-09-20 09:36:34 -0700
commitaccc147666bfd37fc8b4ef745f18a8c751555ec2 (patch)
treea091aa566ed09e8efe881a16e3806ee4169de3f0 /services/audioflinger/Threads.h
parent5baf2af52cd186633b7173196c1e4a4cd3435f22 (diff)
downloadframeworks_av-accc147666bfd37fc8b4ef745f18a8c751555ec2.zip
frameworks_av-accc147666bfd37fc8b4ef745f18a8c751555ec2.tar.gz
frameworks_av-accc147666bfd37fc8b4ef745f18a8c751555ec2.tar.bz2
audioflinger: implement getTimestamp() for offloaded tracks
Bug: 9587132. Change-Id: Ie9d5f4cca96306d08bc9a2dbd6edd8953096702d
Diffstat (limited to 'services/audioflinger/Threads.h')
-rw-r--r--services/audioflinger/Threads.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h
index 3fe470c..f13cb54 100644
--- a/services/audioflinger/Threads.h
+++ b/services/audioflinger/Threads.h
@@ -466,6 +466,8 @@ public:
// Return's the HAL's frame count i.e. fast mixer buffer size.
size_t frameCountHAL() const { return mFrameCount; }
+ status_t getTimestamp_l(AudioTimestamp& timestamp);
+
protected:
// updated by readOutputParameters()
size_t mNormalFrameCount; // normal mixer and effects