update config file example

git-svn-id: https://svn.musicpd.org/mpd/trunk@28 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-02-24 16:38:46 +00:00
parent 138aa54df3
commit 8a8f1f2d18
2 changed files with 42 additions and 22 deletions

View File

@ -103,7 +103,7 @@ If a client does not send any new data in this time period, the connection is cl
.B max_connections <int> .B max_connections <int>
This specifies the maximum number of clients that can be connected to MPD. The default is 5 connections. This specifies the maximum number of clients that can be connected to MPD. The default is 5 connections.
.TP .TP
.B mixer_type <oss or alsa> .B mixer_type <oss, alsa, or software>
This specifies which mixer to use. The default is oss. This specifies which mixer to use. The default is oss.
.TP .TP
.B mixer_device <mixer dev> .B mixer_device <mixer dev>
@ -149,8 +149,7 @@ This specifies whether relative or absolute paths for song filenames are
used when saving playlists. The default value is "no". used when saving playlists. The default value is "no".
.SH EXAMPLES .SH EXAMPLES
.TP .TP
Below is an example config file. (Note: '#' at the beginning of a line denotes Below is an example config file. (Note: '#' at the beginning of a line denotes a comment. The '#' must be the first character/symbol on that line.)
a comment. The '#' must be the first character/symbol on that line.)
.br .br
.br .br
@ -174,18 +173,30 @@ mixer_type "oss"
.br .br
mixer_device "/dev/mixer" mixer_device "/dev/mixer"
.br .br
#mixer_control "Pcm"
.br
# mixer_type is typically "oss", "alsa", or "software"
.br
#mixer_type "alsa" #mixer_type "alsa"
.br .br
#mixer_device "default" #mixer_device "default"
.br .br
#mixer_control "PCM"
.br
# ao_driver is typically "oss" or "alsa09"
.br
#ao_driver "oss" #ao_driver "oss"
.br .br
#ao_driver_options "dsp=/dev/dsp" #ao_driver_options "dsp=/dev/dsp"
.br .br
#audio_write_size "1024"
.br
max_playlist_length "4096" max_playlist_length "4096"
.br .br
buffer_before_play "25%" buffer_before_play "25%"
.br .br
buffer_size "2048"
.br
#db_file "/home/shank/playlists/.mpddb" #db_file "/home/shank/playlists/.mpddb"
.br .br
#state_file "/home/shank/playlists/.mpdstate" #state_file "/home/shank/playlists/.mpdstate"
@ -206,8 +217,14 @@ save_absolute_paths_in_playlists "no"
.br .br
log_level "default" log_level "default"
.br .br
# if bind_to_address is "any", MPD binds all addresses # when bind_to_address is set to "any", MPD binds all available addresses
.br .br
bind_to_address "any" bind_to_address "any"
.br
#passwd "passwd@read,add,control,admin"
.br
#default_permissions "read,add,control,admin"
.br
#filesystem_charset "UTF-8"
.SH SEE ALSO .SH SEE ALSO
mpc(1) mpc(1)

View File

@ -9,11 +9,14 @@ error_file "/home/shank/mpd.error"
mixer_type "oss" mixer_type "oss"
mixer_device "/dev/mixer" mixer_device "/dev/mixer"
#mixer_control "Pcm" #mixer_control "Pcm"
# mixer_type is typically "oss", "alsa", or "software"
#mixer_type "alsa" #mixer_type "alsa"
#mixer_device "default" #mixer_device "default"
#mixer_control "PCM" #mixer_control "PCM"
# ao_driver is typically "oss" or "alsa09"
#ao_driver "oss" #ao_driver "oss"
#ao_driver_options "dsp=/dev/dsp" #ao_driver_options "dsp=/dev/dsp"
#audio_write_size "1024"
max_playlist_length "4096" max_playlist_length "4096"
buffer_before_play "25%" buffer_before_play "25%"
buffer_size "2048" buffer_size "2048"
@ -31,4 +34,4 @@ log_level "default"
bind_to_address "any" bind_to_address "any"
#passwd "passwd@read,add,control,admin" #passwd "passwd@read,add,control,admin"
#default_permissions "read,add,control,admin" #default_permissions "read,add,control,admin"
#fs_charset "UTF-8" #filesystem_charset "UTF-8"