diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2006-07-16 14:57:26 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2006-07-16 14:57:26 +0000 |
commit | b38157fc762537329fad36a63a105d15840470e0 (patch) | |
tree | 78538529510977a081757070e508ebd0a0b1d8b0 /src/audioOutput.c | |
parent | 5070f8bc7870c1e65570849a29f5779741555f7c (diff) | |
download | mpd-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.c | 12 |
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"); +} |