dsound: Mark a multiplication factor as float.

Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Detlef Riekenberg 2016-07-03 22:33:21 +02:00 committed by Alexandre Julliard
parent c242e00b8c
commit 443130c4cf
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ void put_surround512stereo(const IDirectSoundBufferImpl *dsb, DWORD pos, DWORD c
break; break;
case 0: /* front left */ case 0: /* front left */
value *= 0.503; /* 1 / (sum of left volumes) */ value *= 0.503f; /* 1 / (sum of left volumes) */
dsb->put_aux(dsb, pos, 0, value); dsb->put_aux(dsb, pos, 0, value);
break; break;