QUOTE (goodsound @ Mar 1 2006, 03:07 PM)
If I understand correctly, the software volume control acutally only 'reduces' the volume - from 0 to -96. It cannot 'increase' it.
So at max volume level the actual sample value is used, and at say 50% volume the actual sample value is divided by 2 before its passed on ?
Am I thinking this through correctly ? If this is correct then does this messing around with the actual/real sample value in any way affect the sound ?
That's approximately it. However, some badly programmed drivers cannot treat sample values that go over a certain point, and that's why you can have clipping when above a certain volume setting in the windows mixer.
eg : say you have a sample value that goes from -32768 to 32767; the volume control will multiply the sample by a number between 0 and 1, and then truncates it. Eg :
a sample at 345 with volume at 50 % (0.5) will be down to 172 after volume setting.
Now let's say that a sound driver can't play samples if they're above, say.. 30000. Some music will clip (all values above 30000 will be brought to that number), and the playback will sound worse.