summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/FastCaptureState.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/FastCaptureState.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/FastCaptureState.h')
-rw-r--r--services/audioflinger/FastCaptureState.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/audioflinger/FastCaptureState.h b/services/audioflinger/FastCaptureState.h
index 29c865a..17302d3 100644
--- a/services/audioflinger/FastCaptureState.h
+++ b/services/audioflinger/FastCaptureState.h
@@ -44,6 +44,8 @@ struct FastCaptureState : FastThreadState {
WRITE = 0x10, // write to pipe sink
READ_WRITE = 0x18; // read from input source and write to pipe sink
+ // never returns NULL; asserts if command is invalid
+ static const char *commandToString(Command command);
}; // struct FastCaptureState
} // namespace android