FreeBSD Bugzilla – Attachment 133812 Details for
Bug 178343
[PATCH] Fix distortions with audio/openal-soft
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 666 bytes, created by
yamagi
on 2013-05-05 10:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
yamagi
Created:
2013-05-05 10:20:00 UTC
Size:
666 bytes
patch
obsolete
>Index: files/patch-Alc-ALu.c >=================================================================== >--- files/patch-Alc-ALu.c (Revision 0) >+++ files/patch-Alc-ALu.c (Arbeitskopie) >@@ -0,0 +1,11 @@ >+--- Alc/ALu.c_ 2013-05-01 09:31:36.000000000 +0200 >++++ Alc/ALu.c 2013-05-01 09:31:52.000000000 +0200 >+@@ -920,7 +920,7 @@ >+ val = val+1.0f - fabsf(val-1.0f); >+ val = (val-2.0f + fabsf(val+2.0f)) * 0.25f; >+ /* Convert to a signed integer, between -2147483647 and >+2147483647. */ >+- return fastf2i((ALfloat)(val*2147483647.0)); >++ return fastf2i(val*16777215.0f)<<7; >+ } >+ static __inline ALuint aluF2UI(ALfloat val) >+ { return aluF2I(val)+2147483648u; }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 178343
: 133812