summaryrefslogtreecommitdiffstats
path: root/include/media/nbaio/MonoPipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/nbaio/MonoPipe.h')
-rw-r--r--include/media/nbaio/MonoPipe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/nbaio/MonoPipe.h b/include/media/nbaio/MonoPipe.h
index 5fcfe9e..ffdcc21 100644
--- a/include/media/nbaio/MonoPipe.h
+++ b/include/media/nbaio/MonoPipe.h
@@ -88,6 +88,9 @@ public:
// Return true if the write side of a pipe is currently shutdown.
bool isShutdown();
+ // Return NO_ERROR if there is a timestamp available
+ status_t getTimestamp(AudioTimestamp& timestamp);
+
private:
// A pair of methods and a helper variable which allows the reader and the
// writer to update and observe the values of mFront and mNextRdPTS in an