[PATCH] dsound: Mark a multiplication factor as float
Andrew Eikum
aeikum at codeweavers.com
Tue Jul 5 07:58:47 CDT 2016
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
On Sun, Jul 03, 2016 at 10:33:21PM +0200, Detlef Riekenberg wrote:
> 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