aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.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/main.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 '')
-rw-r--r--src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 321f561af..bd94f4344 100644
--- a/src/main.c
+++ b/src/main.c
@@ -33,6 +33,7 @@
#include "permission.h"
#include "replayGain.h"
#include "inputPlugin.h"
+#include "audioOutput.h"
#include "inputStream.h"
#include "tag.h"
#include "tagTracker.h"
@@ -135,6 +136,11 @@ static void version(void) {
initInputPlugins();
printAllInputPluginSuffixes(stdout);
+
+ LOG("\n");
+ LOG("Supported outputs:\n");
+ loadAudioDrivers();
+ printAllOutputPluginTypes(stdout);
}
static void parseOptions(int argc, char ** argv, Options * options) {