aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-04-27 15:54:26 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-04-27 15:54:26 +0000
commitead82e4d5ab80f466bca2dc0c5406d2b56cf00bd (patch)
tree6716a31e851fe5bd162a9743ea9af632926e4f23
parentc58d2a2e0b561409ab76b5f1713028d531a95d5b (diff)
downloadmpd-ead82e4d5ab80f466bca2dc0c5406d2b56cf00bd.tar.gz
mpd-ead82e4d5ab80f466bca2dc0c5406d2b56cf00bd.tar.xz
mpd-ead82e4d5ab80f466bca2dc0c5406d2b56cf00bd.zip
change the default max_output_buffer_size from 2048 to 8192
git-svn-id: https://svn.musicpd.org/mpd/trunk@3226 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--doc/mpd.12
-rw-r--r--doc/mpdconf.example2
-rw-r--r--src/interface.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/mpd.1 b/doc/mpd.1
index 42de10740..8f0458085 100644
--- a/doc/mpd.1
+++ b/doc/mpd.1
@@ -137,7 +137,7 @@ This specifies the maximum size a command list can be (in kilobytes). The defaul
.TP
.B max_output_buffer_size <size in KB>
This specifies the maximum size of the output buffer to a client (in kilobytes).
-The default is 2048 kilobytes.
+The default is 8192 kilobytes.
.TP
.B ao_driver <ao plug-in>
This specifies the ao plug-in to use for audio output. Typical values for
diff --git a/doc/mpdconf.example b/doc/mpdconf.example
index 0b37d9f9a..fbf25b53d 100644
--- a/doc/mpdconf.example
+++ b/doc/mpdconf.example
@@ -222,7 +222,7 @@ pid_file "~/.mpd/mpd.pid"
# No need to change these unless you know better.
#
#max_command_list_size "2048"
-#max_output_buffer_size "2048"
+#max_output_buffer_size "8192"
#
# This will make playlists compatible with normal music
# players.
diff --git a/src/interface.c b/src/interface.c
index 464e1503d..e7be3a71d 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -51,7 +51,7 @@
#define INTERFACE_TIMEOUT_DEFAULT (60)
#define INTERFACE_MAX_CONNECTIONS_DEFAULT (10)
#define INTERFACE_MAX_COMMAND_LIST_DEFAULT (2048*1024)
-#define INTERFACE_MAX_OUTPUT_BUFFER_SIZE_DEFAULT (2048*1024)
+#define INTERFACE_MAX_OUTPUT_BUFFER_SIZE_DEFAULT (8192*1024)
/* set this to zero to indicate we have no possible interfaces */
static int interface_max_connections = 0; /*INTERFACE_MAX_CONNECTIONS_DEFAULT;*/