From 0a3df5cbcfc10a0f18e9da311d887eb00fd6fbf1 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Fri, 15 Jul 2005 06:50:58 +0000 Subject: added on the fly bandwidth management for downsampled users --- config/ampache.cfg.php.dist | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) (limited to 'config') diff --git a/config/ampache.cfg.php.dist b/config/ampache.cfg.php.dist index bf727079..38940ad4 100644 --- a/config/ampache.cfg.php.dist +++ b/config/ampache.cfg.php.dist @@ -18,13 +18,6 @@ # DEFAULT: "" #web_path = "" - -# Lang (define the locale you want to use -# this is a cheeseball fix for now it will be smarter -# later. -# DEFAULT: en_US -#lang = "en_US" - #################### # The libglue Vars # #################### @@ -265,6 +258,28 @@ allow_stream_playback = true # DEFAULT: false #allow_slim_playback = false +####################################################### +# These options control the dynamic downsampling based +* on current useage +# *Note* Downsampling must be enabled and working +####################################################### + +# Attempt to optimize bandwidth by dynamically downsampling +# all connections from users to fit within a maximum bandwidth. +# The benefit is that it won't downsample more than it needs to. As it only +# adjusts the sample rate at the beginning of a song, it may take a few +# minutes to reset all connections to a lower rate. This won't never go higher +# than a user's sample rate and only applies to users who are set to +# the Downsample playback method +# DEFAULT: 576 +#max_bit_rate = 576 + +# If min_bit_rate is set then new streams will be denied if it would +# cause all streams to be downsampled below this rate. +# DEFAULT: 48 +#min_bit_rate = 48 + + ####################################################### # These options control how searching works ####################################################### @@ -460,7 +475,7 @@ rss_song_description = f_title @ $album played by $user->fullna # If set to true MPD is not displayed on the main page, but on it's # own distinct page. This is called localplay, because eventually -# it will control all "LOCAL" style play methods including localplay +# it will control all "LOCAL" style play methods including localplay, xmms2 # and the slimserver # DEFAULT: false #localplay_menu = true -- cgit