Date: Fri, 15 Jul 2016 09:14:00 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 209742] devel/godot: Update to 2.0.4.1; add devel/godot-tools port Message-ID: <bug-209742-13-IXLLIUXZQx@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-209742-13@https.bugs.freebsd.org/bugzilla/> References: <bug-209742-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209742 Shane <FreeBSD@ShaneWare.Biz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172548| |maintainer-approval+ Flags| | --- Comment #49 from Shane <FreeBSD@ShaneWare.Biz> --- Created attachment 172548 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D172548&action= =3Dedit update for devel/godot With the upcoming release of 11.0 we also need to add a small adjustment to RtAudio.cpp. This updated patch adds the following to the previous 2.0.4.1 update to the= end of files/patch-drivers_rtaudio_RtAudio.cpp. sampleRate is an unsigned int so srate gets promoted to unsigned int, this means the result is always positi= ve so the use of abs() is of no use. @@ -9025,7 +9043,7 @@ bool RtApiOss :: probeDeviceOpen( unsign } // Verify the sample rate setup worked. - if ( abs( srate - sampleRate ) > 100 ) { + if ( ( srate - sampleRate ) > 100 ) { close( fd ); errorStream_ << "RtApiOss::probeDeviceOpen: device (" << ainfo.name <<= ") does not support sample rate (" << sampleRate << ")."; errorText_ =3D errorStream_.str(); --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209742-13-IXLLIUXZQx>