diff options
author | Glenn Kasten <gkasten@google.com> | 2012-06-14 08:43:58 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-06-14 08:43:58 -0700 |
commit | ea1d16da8e28b30a58090e6372ce12d40b99c21f (patch) | |
tree | 24624e5005881724a2675a6787e2d82f69cdbd55 | |
parent | 48a0bfa6f731386f2794ff36d6677d56e98fc6ea (diff) | |
parent | e6adde403480333b613452ae0df442df9da4a5b2 (diff) | |
download | frameworks_av-ea1d16da8e28b30a58090e6372ce12d40b99c21f.zip frameworks_av-ea1d16da8e28b30a58090e6372ce12d40b99c21f.tar.gz frameworks_av-ea1d16da8e28b30a58090e6372ce12d40b99c21f.tar.bz2 |
am e6adde40: Merge "Shorten dumpsys media.audio_flinger output" into jb-dev
* commit 'e6adde403480333b613452ae0df442df9da4a5b2':
Shorten dumpsys media.audio_flinger output
-rw-r--r-- | services/audioflinger/FastMixer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/audioflinger/FastMixer.cpp b/services/audioflinger/FastMixer.cpp index 3bb7b44..3fe50dc 100644 --- a/services/audioflinger/FastMixer.cpp +++ b/services/audioflinger/FastMixer.cpp @@ -588,6 +588,10 @@ FastMixerDumpState::~FastMixerDumpState() void FastMixerDumpState::dump(int fd) { + if (mCommand == FastMixerState::INITIAL) { + fdprintf(fd, "FastMixer not initialized\n"); + return; + } #define COMMAND_MAX 32 char string[COMMAND_MAX]; switch (mCommand) { |