From d3ba403f607b744becbd437a4f193c6bda49b6da Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Sat, 10 Nov 2007 01:30:52 +0000 Subject: Forgot these. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15552 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libspeex/sb_celp.c | 5 ++--- apps/codecs/libspeex/sb_celp.h | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'apps') 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 */ -- cgit v1.2.3