aboutsummaryrefslogtreecommitdiff
path: root/audio/openal-soft/files
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2013-06-02 18:07:32 +0000
committerMarcus von Appen <mva@FreeBSD.org>2013-06-02 18:07:32 +0000
commitc3cea8c93fd26d98d0cbcecda6b4d296940428c4 (patch)
tree3d7b312a7855214188aaf26f1654622b36972108 /audio/openal-soft/files
parentd0155c5387c5d53cb7b3092e7636fcebdd3b481d (diff)
downloadports-c3cea8c93fd26d98d0cbcecda6b4d296940428c4.tar.gz
ports-c3cea8c93fd26d98d0cbcecda6b4d296940428c4.zip
Notes
Diffstat (limited to 'audio/openal-soft/files')
-rw-r--r--audio/openal-soft/files/patch-Alc-ALu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/openal-soft/files/patch-Alc-ALu.c b/audio/openal-soft/files/patch-Alc-ALu.c
index 5e673f703562..75b767f31d96 100644
--- a/audio/openal-soft/files/patch-Alc-ALu.c
+++ b/audio/openal-soft/files/patch-Alc-ALu.c
@@ -26,12 +26,12 @@
{ return aluF2I(val)+2147483648u; }
static __inline ALshort aluF2S(ALfloat val)
-{ return aluF2I(val)>>16; }
-+{ return aluF2I(val)>>9; }
++{ return aluF2I25(val)>>9; }
static __inline ALushort aluF2US(ALfloat val)
{ return aluF2S(val)+32768; }
static __inline ALbyte aluF2B(ALfloat val)
-{ return aluF2I(val)>>24; }
-+{ return aluF2I(val)>>17; }
++{ return aluF2I25(val)>>17; }
static __inline ALubyte aluF2UB(ALfloat val)
{ return aluF2B(val)+128; }