audio: update usage messages

This commit is contained in:
James Laird
2013-06-20 01:06:08 +10:00
parent b8e8a22cc2
commit a38a03ed7d
3 changed files with 8 additions and 2 deletions
+6
View File
@@ -64,4 +64,10 @@ void audio_ls_outputs(void) {
printf("Available audio outputs:\n");
for (out=outputs; *out; out++)
printf(" %s%s\n", (*out)->name, out==outputs ? " (default)" : "");
for (out=outputs; *out; out++) {
printf("\n");
printf("Options for output %s:\n", (*out)->name);
(*out)->help();
}
}
+1 -1
View File
@@ -69,7 +69,7 @@ static void stop(void) {
}
static void help(void) {
printf("There are no options for dummy audio.\n");
printf(" There are no options for dummy audio.\n");
}
audio_output audio_dummy = {
+1 -1
View File
@@ -72,7 +72,7 @@ static void deinit(void) {
}
static void help(void) {
printf("pipe takes 1 argument: the name of the FIFO to write to.\n");
printf(" pipe takes 1 argument: the name of the FIFO to write to.\n");
}
audio_output audio_pipe = {