Patrick Dixon Wrote: > 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.
This will of course only work if you are running the perl version of slimserver, and not the compiled Windows binary. Steinar -- sbjaerum ------------------------------------------------------------------------ sbjaerum's Profile: http://forums.slimdevices.com/member.php?userid=237 View this thread: http://forums.slimdevices.com/showthread.php?t=18369 _______________________________________________ audiophiles mailing list audiophiles@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/audiophiles