diff options
Diffstat (limited to 'cmds')
| -rw-r--r-- | cmds/stagefright/audioloop.cpp | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/cmds/stagefright/audioloop.cpp b/cmds/stagefright/audioloop.cpp index 7b0de24..6e9e6ec 100644 --- a/cmds/stagefright/audioloop.cpp +++ b/cmds/stagefright/audioloop.cpp @@ -18,6 +18,8 @@  #include <sys/stat.h>  #include <fcntl.h> +#include <utils/String16.h> +  #include <binder/ProcessState.h>  #include <media/mediarecorder.h>  #include <media/stagefright/foundation/ADebug.h> @@ -34,7 +36,7 @@ using namespace android;  static void usage(const char* name)  { -    fprintf(stderr, "Usage: %s [-d duration] [-m] [-w] [<output-file>]\n", name); +    fprintf(stderr, "Usage: %s [-d du.ration] [-m] [-w] [<output-file>]\n", name);      fprintf(stderr, "Encodes either a sine wave or microphone input to AMR format\n");      fprintf(stderr, "    -d    duration in seconds, default 5 seconds\n");      fprintf(stderr, "    -m    use microphone for input, default sine source\n"); @@ -85,6 +87,7 @@ int main(int argc, char* argv[])          // talk into the appropriate microphone for the duration          source = new AudioSource(                  AUDIO_SOURCE_MIC, +                String16(),                  kSampleRate,                  channels);      } else {  | 
