summaryrefslogtreecommitdiff
path: root/audio/musicpd
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2007-08-10 02:05:58 +0000
committersimonb <simonb@pkgsrc.org>2007-08-10 02:05:58 +0000
commitba6d1c826525206bb8cd310a88053eda72b55e4e (patch)
tree803a74f89ef56d713a99e2cc0fbcf2cdc5a4fa35 /audio/musicpd
parent0fdcf977975826207d1650dbfe6e32bb1698ecc0 (diff)
downloadpkgsrc-ba6d1c826525206bb8cd310a88053eda72b55e4e.tar.gz
Update the sample configuration file. Based on PR pkg/36472 from
Aleksej Saushev, but leaving the paths as they were in the original sample config file.
Diffstat (limited to 'audio/musicpd')
-rw-r--r--audio/musicpd/files/mpd.conf17
1 files changed, 11 insertions, 6 deletions
diff --git a/audio/musicpd/files/mpd.conf b/audio/musicpd/files/mpd.conf
index 66a18d23ef1..2fb6530ba01 100644
--- a/audio/musicpd/files/mpd.conf
+++ b/audio/musicpd/files/mpd.conf
@@ -1,4 +1,4 @@
-# $NetBSD: mpd.conf,v 1.3 2004/05/02 06:28:50 grant Exp $
+# $NetBSD: mpd.conf,v 1.4 2007/08/10 02:05:58 simonb Exp $
# required
port "2100"
@@ -20,17 +20,22 @@ max_playlist_length "4096"
buffer_before_play "25%"
bind_to_address "any"
-mixer_type "oss"
+audio_output {
+ type "oss"
+ name "LibAO-OSS"
+ driver "oss"
+ write_size "1024"
+ device "/dev/audio"
+ options "dsp=@DEVOSSAUDIO@"
+}
+
+mixer_type "software"
mixer_device "/dev/mixer"
# mixer_control defaults to the master volume control. uncomment the
# following line to have mpd's volume control modify the "PCM"
# volume instead:
# mixer_control "Pcm"
-ao_driver "oss"
-ao_driver_options "dsp=@DEVOSSAUDIO@"
-audio_write_size "1024"
-
#user "mp3"
# log_level can be "default", "secure", "verbose"