diff options
author | Thom Johansen <thomj@rockbox.org> | 2007-11-14 00:55:05 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2007-11-14 00:55:05 +0000 |
commit | 91f618f1ba1e507a9aa1cf7ee87eaf0370272b17 (patch) | |
tree | 01e714dc8b41d5ee4332109c0c86720ae291bf96 /apps/codecs/libspeex/sb_celp.h | |
parent | d75a5486e60d10a74049712d8bdf1fa2816038f8 (diff) | |
download | rockbox-91f618f1ba1e507a9aa1cf7ee87eaf0370272b17.tar.gz rockbox-91f618f1ba1e507a9aa1cf7ee87eaf0370272b17.zip |
Remove unneeded math wrappers. Clear state structs in decoder init. Start initial work at stripping away parts of Speex in preparation for its use as a statically linked voice UI codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15612 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/sb_celp.h')
-rw-r--r-- | apps/codecs/libspeex/sb_celp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/codecs/libspeex/sb_celp.h b/apps/codecs/libspeex/sb_celp.h index eaf76c94ab..c4c8160a55 100644 --- a/apps/codecs/libspeex/sb_celp.h +++ b/apps/codecs/libspeex/sb_celp.h | |||
@@ -110,7 +110,12 @@ typedef struct SBDecState { | |||
110 | char *stack; | 110 | char *stack; |
111 | spx_word16_t g0_mem[64], g1_mem[64]; | 111 | spx_word16_t g0_mem[64], g1_mem[64]; |
112 | 112 | ||
113 | /* Voice codec files will be WB mode, which has sub frame size of 40 */ | ||
114 | #ifndef SPEEX_ROCKBOX_VOICE_CODEC | ||
113 | spx_word16_t excBuf[80]; | 115 | spx_word16_t excBuf[80]; |
116 | #else | ||
117 | spx_word16_t excBuf[40]; | ||
118 | #endif | ||
114 | spx_lsp_t old_qlsp[8]; | 119 | spx_lsp_t old_qlsp[8]; |
115 | spx_coef_t interp_qlpc[8]; | 120 | spx_coef_t interp_qlpc[8]; |
116 | 121 | ||