From ac8dbd7a56e4ca0ccfbef61b89bdb55775abea6a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 3 May 2018 21:43:53 -0700 Subject: Add a specific function for truncating float-to-int conversions --- Alc/helpers.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Alc/helpers.c') diff --git a/Alc/helpers.c b/Alc/helpers.c index c4fb7a8c..c311ea2e 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -124,6 +124,7 @@ DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_GUID, 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x extern inline ALuint NextPowerOf2(ALuint value); extern inline size_t RoundUp(size_t value, size_t r); extern inline ALint fastf2i(ALfloat f); +extern inline int float2int(float f); #ifndef __GNUC__ #if defined(HAVE_BITSCANFORWARD64_INTRINSIC) extern inline int msvc64_ctz64(ALuint64 v); -- cgit v1.2.3