diff --git a/audio/filters/echo.c b/audio/filters/echo.c index 4d040a4c9d..320946c9c1 100644 --- a/audio/filters/echo.c +++ b/audio/filters/echo.c @@ -24,11 +24,13 @@ // 4 source echo. +#ifndef ALIGNED #ifdef __GNUC__ #define ALIGNED __attribute__((aligned(16))) #else #define ALIGNED #endif +#endif #ifndef min #define min(a, b) (((a) < (b)) ? (a) : (b)) diff --git a/audio/filters/iir.c b/audio/filters/iir.c index d07ac9470e..cfcfef2df6 100644 --- a/audio/filters/iir.c +++ b/audio/filters/iir.c @@ -31,11 +31,13 @@ #define M_PI 3.1415926535897932384626433832795 #endif +#ifndef ALIGNED #ifdef __GNUC__ #define ALIGNED __attribute__((aligned(16))); #else #define ALIGNED #endif +#endif #define sqr(a) ((a) * (a))