diff options
author | Thom Johansen <thomj@rockbox.org> | 2007-11-08 23:41:47 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2007-11-08 23:41:47 +0000 |
commit | 51afaf20a368c5d6cd3d404fa4d034da6781b346 (patch) | |
tree | bce5d5231cde4df951c1f3a77c0657b0ecdc52f8 /apps/codecs/libspeex/filters.c | |
parent | e401360256d6c11714cdf79d95ed9f2ac44bb792 (diff) |
Disable another encoder only function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15545 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/filters.c')
-rw-r--r-- | apps/codecs/libspeex/filters.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/codecs/libspeex/filters.c b/apps/codecs/libspeex/filters.c index a8a2e0bc71..a41148fcfb 100644 --- a/apps/codecs/libspeex/filters.c +++ b/apps/codecs/libspeex/filters.c @@ -187,6 +187,7 @@ void signal_div(const spx_sig_t *x, spx_sig_t *y, spx_word32_t scale, int len) +#ifndef SPEEX_DISABLE_ENCODER spx_word16_t compute_rms(const spx_sig_t *x, int len) { int i; @@ -227,6 +228,7 @@ spx_word16_t compute_rms(const spx_sig_t *x, int len) return EXTRACT16(PSHR32(SHL32(EXTEND32(spx_sqrt(DIV32(sum,len))),(sig_shift+3)),SIG_SHIFT)); } +#endif /*SPEEX_DISABLE_ENCODER */ spx_word16_t compute_rms16(const spx_word16_t *x, int len) { |