From be046b25a4e2583f63d6b3da680e6451957750e4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 Sep 2008 11:43:13 +0200 Subject: 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. --- src/audioOutput.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/audioOutput.h') 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 -- cgit v1.2.3