[MPlayer-dev-eng] [PATCH] forceable software volume control
The Wanderer
inverseparadox at comcast.net
Fri Nov 5 19:14:19 CET 2004
Oded Shimon wrote:
> On Friday 05 November 2004 18:11, Torinthiel wrote:
>
>> Have you read it? Or have you read the code and here is wrong? I
>> see the range is 50-200. How is 90 close to 200? If you want it
>> neat the middle of scale, which I find reasonable, then 90 is
>> better then 50, and 100 would be even better. Or the code accepts
>> 50-100, and 200 in manpage patch is a mistake.
>
> You misunderstood the code.
Nonetheless, I don't remember if I'd read the code (I have now, and it
looks comparatively simple; I don't even see where or how the 50 and 200
values are coded), and had misread even the man-page description; I was
operating with a working assuption of 100 as max (and that raising the
number would have no effect on the present volume, but only on the range
within which one can change the volume). 100l-or-so equivalent to me for
that, unless I'm now misunderstanding things even worse, but now I'm not
sure I *do* understand things, because if the situation as I now think I
understand it is correct then I don't know how my previous objections
could have failed to be reacted to as quite plainly insane.
> That variable sets the maximum possible volume, 1 divided by that
> number.
Actually, if I understand things correctly, '1/softvol-normal' defines
not the maximum possible volume (except indirectly) but the percentage
of that volume which the unmodified volume is defined to be. (...bad
grammar...) Because the maximum volume is 100% in all cases, the lower
the starting percentage, the higher the actual maximum.
Now that I think about it, if the value of softvol-normal does not in
fact itself change the volume, then what would setting it greater than
100 do? The volume bar cannot be set higher than 100%, obviously, so it
would not be possible for the initial volume to remain unchanged... but
then what *would* happen? Would the initial volume be decreased, to
bring it into the valid range? That doesn't seem right, but I'm not
being able to think of any other sensible scenario...
(Note: Several things which I previously thought made sense are falling
apart into pure confusion. It is thus possible that all of the changes
in understanding I'm having are the result of something weird going on
in my own mind, and make no sense to anyone else whatsoever; in that
case, the appropriate response would be to pat me on the head soothingly
and give me doggie biscuits until I calm down.)
--
The Wanderer
Warning: Simply because I argue an issue does not mean I agree with any
side of it.
A government exists to serve its citizens, not to control them.
More information about the MPlayer-dev-eng
mailing list