diff options
author | Glenn Kasten <gkasten@google.com> | 2013-08-29 17:12:44 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-08-29 17:12:44 -0700 |
commit | ec9ad1b0947f5d6b465281312dbe92f096a8f881 (patch) | |
tree | 71a3b3f48c0c563311db4fedf75efa5241d2d2c9 /include/media/IAudioTrack.h | |
parent | 6dc365f0d5a92084517f0c3846e4f07fc7206bab (diff) | |
parent | f94b2946a511c5cbb6b9001449ca8278cb332bda (diff) | |
download | frameworks_av-ec9ad1b0947f5d6b465281312dbe92f096a8f881.zip frameworks_av-ec9ad1b0947f5d6b465281312dbe92f096a8f881.tar.gz frameworks_av-ec9ad1b0947f5d6b465281312dbe92f096a8f881.tar.bz2 |
am f94b2946: am 56b59224: Merge "Add IAudioTrack::getTimestamp()" into klp-dev
* commit 'f94b2946a511c5cbb6b9001449ca8278cb332bda':
Add IAudioTrack::getTimestamp()
Diffstat (limited to 'include/media/IAudioTrack.h')
-rw-r--r-- | include/media/IAudioTrack.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/IAudioTrack.h b/include/media/IAudioTrack.h index 1014403..afac4ae 100644 --- a/include/media/IAudioTrack.h +++ b/include/media/IAudioTrack.h @@ -26,6 +26,7 @@ #include <binder/IMemory.h> #include <utils/LinearTransform.h> #include <utils/String8.h> +#include <media/AudioTimestamp.h> namespace android { @@ -86,6 +87,9 @@ public: /* Send parameters to the audio hardware */ virtual status_t setParameters(const String8& keyValuePairs) = 0; + + /* Return NO_ERROR if timestamp is valid */ + virtual status_t getTimestamp(AudioTimestamp& timestamp) = 0; }; // ---------------------------------------------------------------------------- |