aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_list.c
diff options
context:
space:
mode:
authorViliam Mateicka <viliam.mateicka@gmail.com>2009-03-18 19:11:48 +0100
committerMax Kellermann <max@duempel.org>2009-03-21 09:45:42 +0100
commit71cd24954a34bc9fb0fdf6505616ba79b8320a5a (patch)
tree9d4797d5a4f2afc93e1a1a7e5560eb7c8efaf36c /src/output_list.c
parent3d202e4609ab2ed69f8d906d1af0b273fe5025b3 (diff)
downloadmpd-71cd24954a34bc9fb0fdf6505616ba79b8320a5a.tar.gz
mpd-71cd24954a34bc9fb0fdf6505616ba79b8320a5a.tar.xz
mpd-71cd24954a34bc9fb0fdf6505616ba79b8320a5a.zip
move printAllOutputPluginTypes to output_list.c
Diffstat (limited to 'src/output_list.c')
-rw-r--r--src/output_list.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/output_list.c b/src/output_list.c
index f1569abf9..81de16649 100644
--- a/src/output_list.c
+++ b/src/output_list.c
@@ -88,3 +88,15 @@ audio_output_plugin_get(const char *name)
return NULL;
}
+
+void audio_output_plugin_print_all_types(FILE * fp)
+{
+ unsigned i;
+ const struct audio_output_plugin *plugin;
+
+ audio_output_plugins_for_each(plugin, i)
+ fprintf(fp, "%s ", plugin->name);
+
+ fprintf(fp, "\n");
+ fflush(fp);
+}