diff options
author | Eric Tan <taneric@google.com> | 2018-09-12 17:41:27 -0700 |
---|---|---|
committer | Eric Tan <taneric@google.com> | 2018-09-18 17:32:33 -0700 |
commit | 2942a4e2d97edb8b14d7fac16f9cad12f78048bc (patch) | |
tree | 97f3fd66a453766e390a4bba7e9c863834855ce8 /services/audioflinger/FastMixerDumpState.h | |
parent | ea055e6dab6bcbf9bf90711d602bcf59395f0d59 (diff) | |
download | frameworks_av-2942a4e2d97edb8b14d7fac16f9cad12f78048bc.tar.gz frameworks_av-2942a4e2d97edb8b14d7fac16f9cad12f78048bc.tar.bz2 frameworks_av-2942a4e2d97edb8b14d7fac16f9cad12f78048bc.zip |
Remove --json option from dumpsys media.audio_flinger
The more recent work that this was supposed to become is reflected in
dumpsys media.log, so this commit removes some code clutter that is not
used anymore.
Other Changes:
- Use std::make_unique for creating unique_ptr objects
Test: build, dumpsys media.audio_flinger
Bug: 68148948
Change-Id: I4841e118c2cdee4ada4c6cdc0fff1ec2e12b38c4
Diffstat (limited to 'services/audioflinger/FastMixerDumpState.h')
-rw-r--r-- | services/audioflinger/FastMixerDumpState.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/services/audioflinger/FastMixerDumpState.h b/services/audioflinger/FastMixerDumpState.h index 69c2e4e87b..9b91cbcade 100644 --- a/services/audioflinger/FastMixerDumpState.h +++ b/services/audioflinger/FastMixerDumpState.h @@ -18,9 +18,7 @@ #define ANDROID_AUDIO_FAST_MIXER_DUMP_STATE_H #include <stdint.h> -#include <string> #include <audio_utils/TimestampVerifier.h> -#include <json/json.h> #include "Configuration.h" #include "FastThreadDumpState.h" #include "FastMixerState.h" @@ -67,8 +65,7 @@ struct FastMixerDumpState : FastThreadDumpState { FastMixerDumpState(); /*virtual*/ ~FastMixerDumpState(); - void dump(int fd) const; // should only be called on a stable copy, not the original - Json::Value getJsonDump() const; // should only be called on a stable copy, not the original + void dump(int fd) const; // should only be called on a stable copy, not the original double mLatencyMs = 0.; // measured latency, default of 0 if no valid timestamp read. uint32_t mWriteSequence; // incremented before and after each write() |