summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/FastThreadState.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2015-03-02 15:51:38 -0800
committerGlenn Kasten <gkasten@google.com>2015-03-03 08:52:56 -0800
commitd702a568cb62e5aebe048147350bb3c76f9386ba (patch)
tree507e18b27556b74262a527a7378515fbdcf9b573 /services/audioflinger/FastThreadState.h
parentfbdb2aceab7317aa44bc8f301a93eb49e17b2bce (diff)
downloadframeworks_av-d702a568cb62e5aebe048147350bb3c76f9386ba.zip
frameworks_av-d702a568cb62e5aebe048147350bb3c76f9386ba.tar.gz
frameworks_av-d702a568cb62e5aebe048147350bb3c76f9386ba.tar.bz2
Pull out commandToString() from FastMixerDumpState.cpp
to FastThreadState.cpp, FastMixerState.cpp, and FastCaptureState.cpp Change-Id: I872efb211e8a0335c42906367859d3674340e374
Diffstat (limited to 'services/audioflinger/FastThreadState.h')
-rw-r--r--services/audioflinger/FastThreadState.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/audioflinger/FastThreadState.h b/services/audioflinger/FastThreadState.h
index 011921d..f18f846 100644
--- a/services/audioflinger/FastThreadState.h
+++ b/services/audioflinger/FastThreadState.h
@@ -46,6 +46,8 @@ struct FastThreadState {
FastThreadDumpState* mDumpState; // if non-NULL, then update dump state periodically
NBLog::Writer* mNBLogWriter; // non-blocking logger
+ // returns NULL if command belongs to a subclass
+ static const char *commandToString(Command command);
}; // struct FastThreadState
} // android