percent = (slider / 40.0 * 100)

I'm not sure why it's integerized though...

On Sep 19, 2005, at 10:28 AM, sbjaerum wrote:


Looking at the source in Squeezebox2.pm, it looks like the server side
volume implementation receives integers ranging from 0 to 100. These
numbers corresponds to -49.5dB to 0dB in increments of .5dB.

How does this map to the 40 steps volume control on the client?

Steinar


--
sbjaerum
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta


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

Reply via email to