update mpd manpage and sample config file with replaygain and

audio_output_format options

git-svn-id: https://svn.musicpd.org/mpd/trunk@1453 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-06-12 21:27:15 +00:00
parent d46c867807
commit b7e0d34b9e
3 changed files with 16 additions and 6 deletions

View File

@ -116,10 +116,16 @@ This specifies which mixer control to use (sometimes referred to as the "device"
.B max_playlist_length <int> .B max_playlist_length <int>
This specifies the maximum number of songs that can be in the playlist. The default is 4096 songs. This specifies the maximum number of songs that can be in the playlist. The default is 4096 songs.
.TP .TP
.B buffer_size <size in KB> .B audio_buffer_size <size in KB>
This specifies the size of the buffer that mpd uses. The default is 2048 kilobytes. This specifies the size of the audio output buffer that mpd uses. The default is 2048 kilobytes.
.B buffer_before play <0-100%> .B buffer_before play <0-100%>
This specifies the amount of buffer that will be filled before a song begins playing. The default is 25%. This specifies the amount of the audio buffer that will be filled before a song begins playing. The default is 25%.
.TP
.B audio_output_format <sample_rate:bits:channels>
This specifies the format all decoded audio should be converted to for playing. This options is useful if your sound card only supports a limited number of sample rates and if you want to ensure all transitions between songs are crossfaded/gapless. This option is not recommended for all users because it can cause a reduction in sound quality. The two most common formats are "48000:16:2" and "44100:16:2".
.TP
.B replaygain <album or track>
This specifies whether to use replaygain tags (currently only supported for FLAC and Ogg Vorbis formats).
.TP .TP
.B max_command_list_size <size in KB> .B max_command_list_size <size in KB>
This specifies the maximum size a command list can be (in kilobytes). The default is 2048 kilobytes. This specifies the maximum size a command list can be (in kilobytes). The default is 2048 kilobytes.
@ -195,7 +201,7 @@ max_playlist_length "4096"
.br .br
buffer_before_play "25%" buffer_before_play "25%"
.br .br
buffer_size "2048" audio_buffer_size "2048"
.br .br
#db_file "~/playlists/.mpddb" #db_file "~/playlists/.mpddb"
.br .br
@ -226,5 +232,7 @@ bind_to_address "any"
#default_permissions "read,add,control,admin" #default_permissions "read,add,control,admin"
.br .br
#filesystem_charset "UTF-8" #filesystem_charset "UTF-8"
.br
#replaygain "album"
.SH SEE ALSO .SH SEE ALSO
mpc(1) mpc(1)

View File

@ -68,11 +68,13 @@ error_file "~/.mpd/mpd.error"
# misc audio output options # misc audio output options
#audio_write_size "1024" #audio_write_size "1024"
# use track or album replaygain
#replaygain "album"
################################## ##################################
#### OUTPUT BUFFER SETTINGS ###### #### OUTPUT BUFFER SETTINGS ######
#buffer_size "2048" #audio_buffer_size "2048"
#buffer_before_play "25%" #buffer_before_play "25%"
################################## ##################################

View File

@ -123,7 +123,7 @@ char ** readConf(char * file) {
"filesystem_charset", "filesystem_charset",
"password", "password",
"default_permissions", "default_permissions",
"buffer_size", "audio_buffer_size",
"replaygain", "replaygain",
"audio_output_format" "audio_output_format"
}; };