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:
parent
c242e00b8c
commit
443130c4cf
|
@ -224,7 +224,7 @@ void put_surround512stereo(const IDirectSoundBufferImpl *dsb, DWORD pos, DWORD c
|
|||
break;
|
||||
|
||||
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);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue