From e75e40085fb3492ceda7c92afb77cef6b98e71a1 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Sat, 20 Dec 2008 22:16:02 -0800 Subject: Remove obsolete http_buffer* stuff that went away with the new curl backend. --- doc/mpd.conf.5 | 8 -------- src/conf.c | 2 -- src/conf.h | 2 -- 3 files changed, 12 deletions(-) diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5 index 31b105c8d..8cc3b0573 100644 --- a/doc/mpd.conf.5 +++ b/doc/mpd.conf.5 @@ -192,14 +192,6 @@ song. Try increasing this if you hear skipping when manually changing songs. The default is 10%, a little over 1 second of CD-quality audio with the default buffer size. .TP -.B http_buffer_size -This specifies the size of the buffer used for playing HTTP streams. The -default is 128. -.TP -.B http_prebuffer_size -This specifies how much of an HTTP stream should be buffered before beginning -playback. The default is 32. -.TP .B http_proxy_host Use to specify the proxy host used for HTTP connections. .TP diff --git a/src/conf.c b/src/conf.c index cdcb917f6..680a5fb1c 100644 --- a/src/conf.c +++ b/src/conf.c @@ -171,8 +171,6 @@ void initConf(void) registerConfigParam(CONF_SAMPLERATE_CONVERTER, 0, 0); registerConfigParam(CONF_AUDIO_BUFFER_SIZE, 0, 0); registerConfigParam(CONF_BUFFER_BEFORE_PLAY, 0, 0); - registerConfigParam(CONF_HTTP_BUFFER_SIZE, 0, 0); - registerConfigParam(CONF_HTTP_PREBUFFER_SIZE, 0, 0); registerConfigParam(CONF_HTTP_PROXY_HOST, 0, 0); registerConfigParam(CONF_HTTP_PROXY_PORT, 0, 0); registerConfigParam(CONF_HTTP_PROXY_USER, 0, 0); diff --git a/src/conf.h b/src/conf.h index e2e50c5bc..2b73bb6d7 100644 --- a/src/conf.h +++ b/src/conf.h @@ -49,8 +49,6 @@ #define CONF_SAMPLERATE_CONVERTER "samplerate_converter" #define CONF_AUDIO_BUFFER_SIZE "audio_buffer_size" #define CONF_BUFFER_BEFORE_PLAY "buffer_before_play" -#define CONF_HTTP_BUFFER_SIZE "http_buffer_size" -#define CONF_HTTP_PREBUFFER_SIZE "http_prebuffer_size" #define CONF_HTTP_PROXY_HOST "http_proxy_host" #define CONF_HTTP_PROXY_PORT "http_proxy_port" #define CONF_HTTP_PROXY_USER "http_proxy_user" -- cgit v1.2.3