diff options
author | Glenn Kasten <gkasten@google.com> | 2012-06-13 14:59:17 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-06-13 15:14:16 -0700 |
commit | 868c0abe9f26852c217bc201b337e72c68f829b8 (patch) | |
tree | 1ffcd485ce7c69bc424fc7fafb00412effd9c126 /services/audioflinger/FastMixer.cpp | |
parent | b4ea1ab821d652cb080910d4081f5f1318597a90 (diff) | |
download | frameworks_av-868c0abe9f26852c217bc201b337e72c68f829b8.zip frameworks_av-868c0abe9f26852c217bc201b337e72c68f829b8.tar.gz frameworks_av-868c0abe9f26852c217bc201b337e72c68f829b8.tar.bz2 |
Shorten dumpsys media.audio_flinger output
Don't include in FastMixer if it's not present.
This removes confusing clutter especially for devices
with a separate deep buffer output thread, or for the
duplicating thread and A2DP output thread.
Change-Id: I84933f5555593256f11ba0895ec915c09cf16963
Diffstat (limited to 'services/audioflinger/FastMixer.cpp')
-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) { |