aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutput.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-10-29 03:30:23 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-10-29 03:30:23 +0000
commit9906d3a7b2c509764afb14e9414789b36b266364 (patch)
treea7975e491c8dd6260b146c018971d40e9e3b7000 /src/audioOutput.c
parent94ee53178d3c9e6950e9fccaeaf67555274a4107 (diff)
downloadmpd-9906d3a7b2c509764afb14e9414789b36b266364.tar.gz
mpd-9906d3a7b2c509764afb14e9414789b36b266364.tar.xz
mpd-9906d3a7b2c509764afb14e9414789b36b266364.zip
begin integrating np's oss code
git-svn-id: https://svn.musicpd.org/mpd/trunk@2394 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audioOutput.c')
-rw-r--r--src/audioOutput.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audioOutput.c b/src/audioOutput.c
index 902edbccb..a1de85942 100644
--- a/src/audioOutput.c
+++ b/src/audioOutput.c
@@ -11,11 +11,13 @@
static List * audioOutputPluginList;
void loadAudioOutputPlugin(AudioOutputPlugin * audioOutputPlugin) {
+ if(!audioOutputPlugin->name) return;
insertInList(audioOutputPluginList, audioOutputPlugin->name,
audioOutputPlugin);
}
void unloadAudioOutputPlugin(AudioOutputPlugin * audioOutputPlugin) {
+ if(!audioOutputPlugin->name) return;
deleteFromList(audioOutputPluginList, audioOutputPlugin->name);
}