diff options
author | Michele Calgaro <[email protected]> | 2024-12-30 21:39:44 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-12-30 21:39:44 +0900 |
commit | e016e99e37a10b50446776f390e34582ed1c845c (patch) | |
tree | aad1d8a244bf25a150b1e2802d02ae23da627d77 | |
parent | 1771f54e32985f1fd4d6e56e18156d5db2fa9a63 (diff) | |
download | k3b-e016e99e37a10b50446776f390e34582ed1c845c.tar.gz k3b-e016e99e37a10b50446776f390e34582ed1c845c.zip |
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | libk3b/plugin/libsamplerate/float_cast.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/libk3b/plugin/libsamplerate/float_cast.h b/libk3b/plugin/libsamplerate/float_cast.h index 7088007..533b837 100644 --- a/libk3b/plugin/libsamplerate/float_cast.h +++ b/libk3b/plugin/libsamplerate/float_cast.h @@ -106,42 +106,6 @@ return intgr ; } -#elif (defined (__MWERKS__) && defined (macintosh)) - - /* This MacOS 9 solution was provided by Stephane Letz */ - - #undef HAVE_LRINT_REPLACEMENT - #define HAVE_LRINT_REPLACEMENT 1 - #include <math.h> - - #undef lrint - #undef lrintf - - #define lrint double2int - #define lrintf float2int - - inline int - float2int (float in) - { long res [2] ; - - asm - { fctiw in,in - stfd in,res - } - return res [1] ; - } /* float2int */ - - inline int - double2int (double in) - { long res [2] ; - - asm - { fctiw in,in - stfd in,res - } - return res [1] ; - } /* double2int */ - #elif (defined (__MACH__) && defined (__APPLE__)) /* For Apple MacOSX. */ |