summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-11-10 01:30:52 +0000
committerThom Johansen <thomj@rockbox.org>2007-11-10 01:30:52 +0000
commitd3ba403f607b744becbd437a4f193c6bda49b6da (patch)
treed795e464dd0b5614b63cef01815035dd0fa80481 /apps/codecs
parentf32b7748dddf0146e66af2120ac2cb6bcd363ae8 (diff)
Forgot these.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15552 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/libspeex/sb_celp.c5
-rw-r--r--apps/codecs/libspeex/sb_celp.h1
2 files changed, 2 insertions, 4 deletions
diff --git a/apps/codecs/libspeex/sb_celp.c b/apps/codecs/libspeex/sb_celp.c
index cd6da32476..1b648b8c52 100644
--- a/apps/codecs/libspeex/sb_celp.c
+++ b/apps/codecs/libspeex/sb_celp.c
@@ -214,7 +214,6 @@ void *sb_encoder_init(const SpeexMode *m)
st->nbSubframes = mode->frameSize/mode->subframeSize;
st->windowSize = st->frame_size+st->subframeSize;
st->lpcSize=mode->lpcSize;
- st->bufSize=mode->bufSize;
st->encode_submode = 1;
st->submodes=mode->submodes;
@@ -751,7 +750,7 @@ int sb_encode(void *state, void *vin, SpeexBits *bits)
return 1;
}
-#endif
+#endif /* SPEEX_DISABLE_ENCODER */
@@ -1363,7 +1362,7 @@ int sb_encoder_ctl(void *state, int request, void *ptr)
}
return 0;
}
-#endif
+#endif /* SPEEX_DISABLE_ENCODER */
int sb_decoder_ctl(void *state, int request, void *ptr)
{
diff --git a/apps/codecs/libspeex/sb_celp.h b/apps/codecs/libspeex/sb_celp.h
index 1f9b4daae0..eaf76c94ab 100644
--- a/apps/codecs/libspeex/sb_celp.h
+++ b/apps/codecs/libspeex/sb_celp.h
@@ -50,7 +50,6 @@ typedef struct SBEncState {
int nbSubframes; /**< Number of high-band sub-frames*/
int windowSize; /**< Length of high-band LPC window*/
int lpcSize; /**< Order of high-band LPC analysis */
- int bufSize; /**< Buffer size */
int first; /**< First frame? */
float lag_factor; /**< Lag-windowing control parameter */
spx_word16_t lpc_floor; /**< Controls LPC analysis noise floor */