summaryrefslogtreecommitdiff
path: root/audio
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
commitb8e47ae345efed62a00bf9114c86efdb21d29277 (patch)
tree803a74f89ef56d713a99e2cc0fbcf2cdc5a4fa35 /audio
parent00d71b82592b9c7c8f716bbe9d9733e2ab308bb2 (diff)
downloadpkgsrc-b8e47ae345efed62a00bf9114c86efdb21d29277.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')
-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"