summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libspeex/speex_header.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-11-16 15:35:37 +0000
committerThom Johansen <thomj@rockbox.org>2007-11-16 15:35:37 +0000
commit65458ee71ca741fbed1bff7e358760bb480b85e9 (patch)
treebe9262a5c2560e5e0710d41e6c94d0c3a4e86b77 /apps/codecs/libspeex/speex_header.c
parent88c4748a4b93b6dcf0a8288c030bf93ae571ce5e (diff)
downloadrockbox-65458ee71ca741fbed1bff7e358760bb480b85e9.tar.gz
rockbox-65458ee71ca741fbed1bff7e358760bb480b85e9.zip
Speex encoder specially tailored to create voice UI snippets. Small fixups to libspeex to allow it to be built.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15640 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/speex_header.c')
-rw-r--r--apps/codecs/libspeex/speex_header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libspeex/speex_header.c b/apps/codecs/libspeex/speex_header.c
index eb4c199d46..30f47206c4 100644
--- a/apps/codecs/libspeex/speex_header.c
+++ b/apps/codecs/libspeex/speex_header.c
@@ -47,7 +47,7 @@
/** Convert little endian */
static inline spx_int32_t le_int(spx_int32_t i)
{
-#if 1
+#ifdef ROCKBOX
return letoh32(i);
#elif !defined(__LITTLE_ENDIAN__) && ( defined(WORDS_BIGENDIAN) || defined(__BIG_ENDIAN__) )
spx_uint32_t ui, ret;