Pull out commandToString() from FastMixerDumpState.cpp
to FastThreadState.cpp, FastMixerState.cpp, and FastCaptureState.cpp
Change-Id: I872efb211e8a0335c42906367859d3674340e374
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 @@
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