Edit the file Squeezebox2.pm in the sub-directory Slim/Player/ to change
the section:

sub dBToFixed {
my $db = shift;

# Map a floating point dB value to a 16.16 fixed point value
to
# send as a new style volume to SB2 (FW 22+).
my $floatmult = 10 ** ($db/20);
return int(($floatmult * (1 << 16)) + 0.5);
}


to:

sub dBToFixed {
my $db = shift;

# Map a floating point dB value to a 16.16 fixed point value
to
# send as a new style volume to SB2 (FW 22+).
my $floatmult = 10 ** ($db/20);
if ($db >= -30 && $db <= 0) {
return int($floatmult * (1 << 8) + 0.5) * (1 << 8);
}
else {
return int(($floatmult * (1 << 16)) + 0.5);
}
}


Then restart Slimserver.


-- 
Patrick Dixon

www.at-tunes.co.uk
------------------------------------------------------------------------
Patrick Dixon's Profile: http://forums.slimdevices.com/member.php?userid=90
View this thread: http://forums.slimdevices.com/showthread.php?t=18369

_______________________________________________
audiophiles mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/audiophiles

Reply via email to