diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/codecs/libspeex/sb_celp.c | 5 | ||||
-rw-r--r-- | apps/codecs/libspeex/sb_celp.h | 1 |
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 */ |