aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutput.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-08 11:43:13 +0200
committerMax Kellermann <max@duempel.org>2008-09-08 11:43:13 +0200
commitbe046b25a4e2583f63d6b3da680e6451957750e4 (patch)
treef295ed51a8e2ab4f7eb504ee2d2ea2e471ad7e2c /src/audioOutput.h
parenta0103dd05ce4f42f3be2ff951ea44d6e76dadc2f (diff)
downloadmpd-be046b25a4e2583f63d6b3da680e6451957750e4.tar.gz
mpd-be046b25a4e2583f63d6b3da680e6451957750e4.tar.xz
mpd-be046b25a4e2583f63d6b3da680e6451957750e4.zip
output: static audio_output_plugin list as array
Instead of having to register each output plugin, store them statically in an array. This eliminates the need for the List library here, and saves some small allocations during startup.
Diffstat (limited to '')
-rw-r--r--src/audioOutput.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/audioOutput.h b/src/audioOutput.h
index fa8c9824d..d50ae9bbd 100644
--- a/src/audioOutput.h
+++ b/src/audioOutput.h
@@ -29,12 +29,6 @@ struct audio_output_plugin;
struct audio_format;
struct tag;
-void initAudioOutputPlugins(void);
-void finishAudioOutputPlugins(void);
-
-void loadAudioOutputPlugin(struct audio_output_plugin *audioOutputPlugin);
-void unloadAudioOutputPlugin(struct audio_output_plugin *audioOutputPlugin);
-
int initAudioOutput(struct audio_output *, ConfigParam * param);
int openAudioOutput(struct audio_output *audioOutput,
const struct audio_format *audioFormat);
@@ -49,15 +43,4 @@ void sendMetadataToAudioOutput(struct audio_output *audioOutput,
void printAllOutputPluginTypes(FILE * fp);
-extern struct audio_output_plugin shoutPlugin;
-extern struct audio_output_plugin nullPlugin;
-extern struct audio_output_plugin fifoPlugin;
-extern struct audio_output_plugin alsaPlugin;
-extern struct audio_output_plugin aoPlugin;
-extern struct audio_output_plugin ossPlugin;
-extern struct audio_output_plugin osxPlugin;
-extern struct audio_output_plugin pulsePlugin;
-extern struct audio_output_plugin mvpPlugin;
-extern struct audio_output_plugin jackPlugin;
-
#endif