Displaying 2 results from an estimated 2 matches for "speex_bigendian".
2007 May 02
4
[patch] Mac Universal Binaries
Hi all,
Speex currently decides endianness at configure-time. This causes the
ppc half of Mac universal binaries to have some endianness problems.
Most notably, the header built by speex_packet_to_header() has
incorrect byte-ordering.
This Apple developer page describes the incantation that can be used
to build universal binaries on Mac. It also highlights the
configure-time versus compile-time
2007 May 03
0
[patch] Mac Universal Binaries
...> /* do big endian thing */
> #else
> /* do little endian thing */
> #endif
>
> This seems excessively complicated, so I preferred not to do it.
Actually, all we need is to do is have that once in the main include:
#if defined(WORDS_BIGENDIAN) || defined(__BIG_ENDIAN__)
#define SPEEX_BIGENDIAN
#endif
and then we just use SPEEX_BIGENDIAN everywhere else.
Jean-Marc