From b7e0d34b9e16c04839bf047e978d75b255a388f6 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sat, 12 Jun 2004 21:27:15 +0000 Subject: [PATCH] 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 --- doc/mpd.1 | 16 ++++++++++++---- doc/mpdconf.example | 4 +++- src/conf.c | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/doc/mpd.1 b/doc/mpd.1 index b102bc840..6bbab2965 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 This specifies the maximum number of songs that can be in the playlist. The default is 4096 songs. .TP -.B buffer_size -This specifies the size of the buffer that mpd uses. The default is 2048 kilobytes. +.B audio_buffer_size +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 +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 +This specifies whether to use replaygain tags (currently only supported for FLAC and Ogg Vorbis formats). .TP .B max_command_list_size 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 bdcba0894..6c5c7b26e 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 ff38030a5..4c2749bd0 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" };