Date: Sun, 2 Jun 2013 18:07:32 +0000 (UTC) From: Marcus von Appen <mva@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319704 - in head/audio/openal-soft: . files Message-ID: <201306021807.r52I7WCF082740@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mva Date: Sun Jun 2 18:07:32 2013 New Revision: 319704 URL: http://svnweb.freebsd.org/changeset/ports/319704 Log: - Fix broken patch from ports/178343, which might lead to broken OSS output PR: ports/178895 Submitted by: Green Dog <fiziologus@gmail.com> Modified: head/audio/openal-soft/Makefile head/audio/openal-soft/files/patch-Alc-ALu.c Modified: head/audio/openal-soft/Makefile ============================================================================== --- head/audio/openal-soft/Makefile Sun Jun 2 18:00:04 2013 (r319703) +++ head/audio/openal-soft/Makefile Sun Jun 2 18:07:32 2013 (r319704) @@ -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/ Modified: head/audio/openal-soft/files/patch-Alc-ALu.c ============================================================================== --- head/audio/openal-soft/files/patch-Alc-ALu.c Sun Jun 2 18:00:04 2013 (r319703) +++ head/audio/openal-soft/files/patch-Alc-ALu.c Sun Jun 2 18:07:32 2013 (r319704) @@ -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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306021807.r52I7WCF082740>