diff options
author | Glenn Kasten <gkasten@google.com> | 2015-03-02 15:53:01 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2015-03-06 09:35:19 -0800 |
commit | 17c9c998afed5ed9df7495eeed5822f3ed53ebec (patch) | |
tree | 9b146046584a7093410ecb23b1265d770383c376 /services/audioflinger/FastCaptureDumpState.h | |
parent | 44182c206f7c5584ef2cf504da6be98fab665dbf (diff) | |
download | frameworks_av-17c9c998afed5ed9df7495eeed5822f3ed53ebec.zip frameworks_av-17c9c998afed5ed9df7495eeed5822f3ed53ebec.tar.gz frameworks_av-17c9c998afed5ed9df7495eeed5822f3ed53ebec.tar.bz2 |
Initial implementation of fast capture dump
Change-Id: I898d903e539f760ef7caa80f41ca21c223f67264
Diffstat (limited to 'services/audioflinger/FastCaptureDumpState.h')
-rw-r--r-- | services/audioflinger/FastCaptureDumpState.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/audioflinger/FastCaptureDumpState.h b/services/audioflinger/FastCaptureDumpState.h index ee99099..6f9c4c3 100644 --- a/services/audioflinger/FastCaptureDumpState.h +++ b/services/audioflinger/FastCaptureDumpState.h @@ -27,6 +27,8 @@ struct FastCaptureDumpState : FastThreadDumpState { FastCaptureDumpState(); /*virtual*/ ~FastCaptureDumpState(); + void dump(int fd) const; // should only be called on a stable copy, not the original + // FIXME by renaming, could pull up many of these to FastThreadDumpState uint32_t mReadSequence; // incremented before and after each read() uint32_t mFramesRead; // total number of frames read successfully |