[1/3] dsound: Add support for 32-bit IEEE float buffers

Henri Verbeet hverbeet at gmail.com
Tue Sep 14 08:56:36 CDT 2010

On 14 September 2010 15:19, Chris Robinson <chris.kcat at gmail.com> wrote:
> It likely doesn't matter, but it already has to check for values that exceed
> the -1..+1 range, so one more check to see if it's positive or negative won't
> make much of a difference, I don't think. Though if you'd rather do
I don't care much about the extra conditional, if the dsound mixer did
proper interpolation it would be doing much more expensive operations
anyway, and if it was supposed to be fast it should probably be using
SSE intrinsics when available. It just looks questionable to me to use
a different scale for positive and negative values.

Come to think of it though, doesn't ALSA accept floating point values
itself anyway?

More information about the wine-devel mailing list