aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutput.c
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-07-16 14:57:26 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-07-16 14:57:26 +0000
commitb38157fc762537329fad36a63a105d15840470e0 (patch)
tree78538529510977a081757070e508ebd0a0b1d8b0 /src/audioOutput.c
parent5070f8bc7870c1e65570849a29f5779741555f7c (diff)
downloadmpd-b38157fc762537329fad36a63a105d15840470e0.tar.gz
mpd-b38157fc762537329fad36a63a105d15840470e0.tar.xz
mpd-b38157fc762537329fad36a63a105d15840470e0.zip
Committing qball's patch to list supported audio outputs in --version
git-svn-id: https://svn.musicpd.org/mpd/trunk@4357 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audioOutput.c')
-rw-r--r--src/audioOutput.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/audioOutput.c b/src/audioOutput.c
index fea4609a6..e3bd68c4f 100644
--- a/src/audioOutput.c
+++ b/src/audioOutput.c
@@ -247,3 +247,15 @@ void sendMetadataToAudioOutput(AudioOutput * audioOutput, MpdTag * tag) {
if(!audioOutput->sendMetdataFunc) return;
audioOutput->sendMetdataFunc(audioOutput, tag);
}
+
+void printAllOutputPluginTypes(FILE *fp) {
+ ListNode *node = audioOutputPluginList->firstNode;
+ AudioOutputPlugin *plugin;
+
+ while(node) {
+ plugin = (AudioOutputPlugin *)node->data;
+ myfprintf(fp, "%s ", plugin->name);
+ node = node->nextNode;
+ }
+ myfprintf(fp, "\n");
+}