1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Fix broken patch from ports/178343, which might lead to broken OSS output

PR:		ports/178895
Submitted by:	Green Dog <fiziologus@gmail.com>
This commit is contained in:
Marcus von Appen 2013-06-02 18:07:32 +00:00
parent d0155c5387
commit c3cea8c93f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319704
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= openal-soft
PORTVERSION= 1.15.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://kcat.strangesoft.net/openal-releases/

View File

@ -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; }