diff options
author | Thom Johansen <thomj@rockbox.org> | 2007-11-06 17:10:17 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2007-11-06 17:10:17 +0000 |
commit | f5903789fb745d21644f93a82fd3e2404bb8ff65 (patch) | |
tree | c847ec2e48eb3ebc6343bb15f32558d7e302c280 /apps/codecs/libspeex/lsp.c | |
parent | 3eed6fc0251eb5cdce4eda39e036df76838fa60e (diff) | |
download | rockbox-f5903789fb745d21644f93a82fd3e2404bb8ff65.tar.gz rockbox-f5903789fb745d21644f93a82fd3e2404bb8ff65.zip |
Exclude some unneeded LSP code. Add some #endif clarification comments here and there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15497 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/lsp.c')
-rw-r--r-- | apps/codecs/libspeex/lsp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/codecs/libspeex/lsp.c b/apps/codecs/libspeex/lsp.c index fcc12515c3..3973554cfb 100644 --- a/apps/codecs/libspeex/lsp.c +++ b/apps/codecs/libspeex/lsp.c | |||
@@ -134,6 +134,8 @@ Heavily modified by Jean-Marc Valin (c) 2002-2006 (fixed-point, | |||
134 | 134 | ||
135 | \*---------------------------------------------------------------------------*/ | 135 | \*---------------------------------------------------------------------------*/ |
136 | 136 | ||
137 | #ifndef SPEEX_DISABLE_ENCODER | ||
138 | |||
137 | #ifdef FIXED_POINT | 139 | #ifdef FIXED_POINT |
138 | 140 | ||
139 | #ifndef OVERRIDE_CHEB_POLY_EVA | 141 | #ifndef OVERRIDE_CHEB_POLY_EVA |
@@ -387,6 +389,8 @@ int lpc_to_lsp (spx_coef_t *a,int lpcrdr,spx_lsp_t *freq,int nb,spx_word16_t del | |||
387 | return(roots); | 389 | return(roots); |
388 | } | 390 | } |
389 | 391 | ||
392 | #endif /* SPEEX_DISABLE_ENCODER */ | ||
393 | |||
390 | /*---------------------------------------------------------------------------*\ | 394 | /*---------------------------------------------------------------------------*\ |
391 | 395 | ||
392 | FUNCTION....: lsp_to_lpc() | 396 | FUNCTION....: lsp_to_lpc() |