summaryrefslogtreecommitdiff
path: root/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'settings.c')
-rw-r--r--settings.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings.c b/settings.c
index b28db6b..3bc0dfa 100644
--- a/settings.c
+++ b/settings.c
@@ -49,6 +49,10 @@ bool cSettings::processArgs(int argc, char *argv[])
audioDriver(ALSA);
} else if (optarg && strcmp(optarg, "oss") == 0) {
audioDriver(OSS);
+#ifdef PULSEAUDIO
+ } else if (optarg && strcmp(optarg, "pa") == 0) {
+ audioDriver(PA);
+#endif
} else {
esyslog("[dxr3-settings] unkown audio driver - default audio driver will be used");
}