diff options
author | Glenn Kasten <gkasten@google.com> | 2013-08-29 17:09:38 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-08-29 17:09:38 -0700 |
commit | 908d3c09ca7f2ccb280aa5dc8d876099ff9a9d0f (patch) | |
tree | b3187ff2717a737f4e2a7bd0b1d4dc99c7ca641a /include/private | |
parent | 3ae0a58a83d092d96672295c8a62908478f28a9b (diff) | |
parent | 51ec03c203b902edbea538b9b5ef862dea749099 (diff) | |
download | frameworks_av-908d3c09ca7f2ccb280aa5dc8d876099ff9a9d0f.zip frameworks_av-908d3c09ca7f2ccb280aa5dc8d876099ff9a9d0f.tar.gz frameworks_av-908d3c09ca7f2ccb280aa5dc8d876099ff9a9d0f.tar.bz2 |
am 51ec03c2: Merge "Implement Track::getTimestamp()" into klp-dev
* commit '51ec03c203b902edbea538b9b5ef862dea749099':
Implement Track::getTimestamp()
Diffstat (limited to 'include/private')
-rw-r--r-- | include/private/media/AudioTrackShared.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/private/media/AudioTrackShared.h b/include/private/media/AudioTrackShared.h index 1379379..ad7409d 100644 --- a/include/private/media/AudioTrackShared.h +++ b/include/private/media/AudioTrackShared.h @@ -422,6 +422,9 @@ public: // Return the total number of frames which AudioFlinger desired but were unavailable, // and thus which resulted in an underrun. virtual uint32_t getUnderrunFrames() const { return mCblk->u.mStreaming.mUnderrunFrames; } + + // Return the total number of frames that AudioFlinger has obtained and released + virtual size_t framesReleased() const { return mCblk->mServer; } }; class StaticAudioTrackServerProxy : public AudioTrackServerProxy { |