diff options
Diffstat (limited to 'drivers/speex')
-rw-r--r-- | drivers/speex/audio_stream_speex.cpp | 2 | ||||
-rw-r--r-- | drivers/speex/speex_header.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/speex/audio_stream_speex.cpp b/drivers/speex/audio_stream_speex.cpp index a4209a4223..a6bac78b4d 100644 --- a/drivers/speex/audio_stream_speex.cpp +++ b/drivers/speex/audio_stream_speex.cpp @@ -7,7 +7,7 @@ static _FORCE_INLINE_ uint16_t le_short(uint16_t s) { uint16_t ret=s; -#ifdef BIG_ENDIAN_ENABLED +#if 0 //def BIG_ENDIAN_ENABLED ret = s>>8; ret += s<<8; #endif diff --git a/drivers/speex/speex_header.c b/drivers/speex/speex_header.c index 2b3fb78396..2792623983 100644 --- a/drivers/speex/speex_header.c +++ b/drivers/speex/speex_header.c @@ -47,7 +47,7 @@ /** Convert little endian */ static SPEEX_INLINE spx_int32_t le_int(spx_int32_t i) { -#if !defined(__LITTLE_ENDIAN__) && ( defined(WORDS_BIGENDIAN) || defined(__BIG_ENDIAN__) || defined(BIG_ENDIAN_ENABLED) ) +#if !defined(__LITTLE_ENDIAN__) && ( defined(WORDS_BIGENDIAN) || defined(__BIG_ENDIAN__) /* || defined(BIG_ENDIAN_ENABLED) */ ) spx_uint32_t ui, ret; ui = i; ret = ui>>24; |