summaryrefslogtreecommitdiff
path: root/apps/codecs/libspeex/ltp.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-11-06 17:10:17 +0000
committerThom Johansen <thomj@rockbox.org>2007-11-06 17:10:17 +0000
commitf5903789fb745d21644f93a82fd3e2404bb8ff65 (patch)
treec847ec2e48eb3ebc6343bb15f32558d7e302c280 /apps/codecs/libspeex/ltp.c
parent3eed6fc0251eb5cdce4eda39e036df76838fa60e (diff)
downloadrockbox-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/ltp.c')
-rw-r--r--apps/codecs/libspeex/ltp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libspeex/ltp.c b/apps/codecs/libspeex/ltp.c
index 720baaad02..2f86b678d9 100644
--- a/apps/codecs/libspeex/ltp.c
+++ b/apps/codecs/libspeex/ltp.c
@@ -660,7 +660,7 @@ spx_word32_t *cumul_gain
660#endif 660#endif
661 return pitch; 661 return pitch;
662} 662}
663#endif 663#endif /* SPEEX_DISABLE_ENCODER */
664 664
665void pitch_unquant_3tap( 665void pitch_unquant_3tap(
666spx_word16_t exc[], /* Input excitation */ 666spx_word16_t exc[], /* Input excitation */
@@ -812,7 +812,7 @@ spx_word32_t *cumul_gain
812 target[i]=EXTRACT16(SATURATE(SUB32(EXTEND32(target[i]),EXTEND32(res[i])),32700)); 812 target[i]=EXTRACT16(SATURATE(SUB32(EXTEND32(target[i]),EXTEND32(res[i])),32700));
813 return start; 813 return start;
814} 814}
815#endif 815#endif /* SPEEX_DISABLE_ENCODER */
816 816
817/** Unquantize forced pitch delay and gain */ 817/** Unquantize forced pitch delay and gain */
818void forced_pitch_unquant( 818void forced_pitch_unquant(