[PATCH] dsound: Mark a multiplication factor as float
Detlef Riekenberg
wine.dev at web.de
Sun Jul 3 15:33:21 CDT 2016
That is already done for the other factors nearby.
--
Bye bye --- Detlef
Signed-off-by: Detlef Riekenberg <wine.dev at web.de>
---
dlls/dsound/dsound_convert.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dsound/dsound_convert.c b/dlls/dsound/dsound_convert.c
index d9ed637..0c9a34b 100644
--- a/dlls/dsound/dsound_convert.c
+++ b/dlls/dsound/dsound_convert.c
@@ -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;
--
2.7.4
More information about the wine-patches
mailing list