67.161.95.145
In Reply to: RE: The point was not to "play" DTS files. posted by Presto on June 25, 2008 at 12:31:09
Talking about win XP here.
There is mixing and there is volume control. Even with a single stream you have the volume control active and that is slightly changing the samples even if you set the volume to 100%.
This is implemented using MMX instructions and the range is from 0 to a value below 1 so you always change the original value. Kernel streaming is an easy way to get around this.
On Vista all audio date is converted to 32 bit floats in the audio rendering pipeline and you should be able to get true unity gain. However, somewhere in the chain of conversions from PCm to float and back some bits are changed. You can again get around this using Direct Kernel streaming or the new WASAPI (exclusive access) sound apis.
Cheers
Thomas
Follow Ups: