File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
thirdparty/bungee_library/upstream/src Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1212
1313namespace Bungee ::Resample {
1414
15+ #if defined(__GNUC__) || defined(__clang__)
16+ #define BUNGEE_NOINLINE __attribute__ ((noinline))
17+ #else
18+ #define BUNGEE_NOINLINE
19+ #endif
20+
1521// To resample from external buffer at input sample rate to internal buffer at (Fourier transformed) sample rate
1622class Input ;
1723
@@ -158,7 +164,7 @@ template <class Interpolation, class Mode>
158164struct Loop
159165{
160166 template <bool ratioIsConstant>
161- static __attribute__ ((noinline)) void run(RatioState<ratioIsConstant> &ratioState, Internal &internal, External external) // const & ext
167+ static BUNGEE_NOINLINE void run (RatioState<ratioIsConstant> &ratioState, Internal &internal, External external) // const & ext
162168 {
163169 const Assert::FloatingPointExceptions floatingPointExceptions (FE_INEXACT | FE_UNDERFLOW);
164170
You can’t perform that action at this time.
0 commit comments