aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output_list.c')
-rw-r--r--src/output_list.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/output_list.c b/src/output_list.c
index ffb0698f1..835c02bba 100644
--- a/src/output_list.c
+++ b/src/output_list.c
@@ -39,7 +39,7 @@
#include "output/solaris_output_plugin.h"
#include "output/winmm_output_plugin.h"
-const struct audio_output_plugin *audio_output_plugins[] = {
+const struct audio_output_plugin *const audio_output_plugins[] = {
#ifdef HAVE_SHOUT
&shout_output_plugin,
#endif
@@ -98,24 +98,9 @@ const struct audio_output_plugin *audio_output_plugins[] = {
const struct audio_output_plugin *
audio_output_plugin_get(const char *name)
{
- unsigned int i;
- const struct audio_output_plugin *plugin;
-
- audio_output_plugins_for_each(plugin, i)
+ audio_output_plugins_for_each(plugin)
if (strcmp(plugin->name, name) == 0)
return plugin;
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);
-}