aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-12 21:27:15 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-12 21:27:15 +0000
commitb7e0d34b9e16c04839bf047e978d75b255a388f6 (patch)
tree3e025a396a665725286ca91524042dbf33961e29
parentd46c8678077db1d676e350df8acd2b4020bdc9e3 (diff)
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
-rw-r--r--doc/mpd.116
-rw-r--r--doc/mpdconf.example4
-rw-r--r--src/conf.c2
3 files changed, 16 insertions, 6 deletions
diff --git a/doc/mpd.1 b/doc/mpd.1
index b102bc84..6bbab296 100644
--- a/doc/mpd.1
+++ b/doc/mpd.1
@@ -116,10 +116,16 @@ This specifies which mixer control to use (sometimes referred to as the "device"
.B max_playlist_length <int>
This specifies the maximum number of songs that can be in the playlist. The default is 4096 songs.
.TP
-.B buffer_size <size in KB>
-This specifies the size of the buffer that mpd uses. The default is 2048 kilobytes.
+.B audio_buffer_size <size in KB>
+This specifies the size of the audio output buffer that mpd uses. The default is 2048 kilobytes.
.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
.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.
@@ -195,7 +201,7 @@ max_playlist_length "4096"
.br
buffer_before_play "25%"
.br
-buffer_size "2048"
+audio_buffer_size "2048"
.br
#db_file "~/playlists/.mpddb"
.br
@@ -226,5 +232,7 @@ bind_to_address "any"
#default_permissions "read,add,control,admin"
.br
#filesystem_charset "UTF-8"
+.br
+#replaygain "album"
.SH SEE ALSO
mpc(1)
diff --git a/doc/mpdconf.example b/doc/mpdconf.example
index bdcba089..6c5c7b26 100644
--- a/doc/mpdconf.example
+++ b/doc/mpdconf.example
@@ -68,11 +68,13 @@ error_file "~/.mpd/mpd.error"
# misc audio output options
#audio_write_size "1024"
+# use track or album replaygain
+#replaygain "album"
##################################
#### OUTPUT BUFFER SETTINGS ######
-#buffer_size "2048"
+#audio_buffer_size "2048"
#buffer_before_play "25%"
##################################
diff --git a/src/conf.c b/src/conf.c
index ff38030a..4c2749bd 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -123,7 +123,7 @@ char ** readConf(char * file) {
"filesystem_charset",
"password",
"default_permissions",
- "buffer_size",
+ "audio_buffer_size",
"replaygain",
"audio_output_format"
};