forked from len0rd/rockbox
Forgot these.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15552 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f32b7748dd
commit
d3ba403f60
2 changed files with 2 additions and 4 deletions
|
|
@ -214,7 +214,6 @@ void *sb_encoder_init(const SpeexMode *m)
|
||||||
st->nbSubframes = mode->frameSize/mode->subframeSize;
|
st->nbSubframes = mode->frameSize/mode->subframeSize;
|
||||||
st->windowSize = st->frame_size+st->subframeSize;
|
st->windowSize = st->frame_size+st->subframeSize;
|
||||||
st->lpcSize=mode->lpcSize;
|
st->lpcSize=mode->lpcSize;
|
||||||
st->bufSize=mode->bufSize;
|
|
||||||
|
|
||||||
st->encode_submode = 1;
|
st->encode_submode = 1;
|
||||||
st->submodes=mode->submodes;
|
st->submodes=mode->submodes;
|
||||||
|
|
@ -751,7 +750,7 @@ int sb_encode(void *state, void *vin, SpeexBits *bits)
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* SPEEX_DISABLE_ENCODER */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1363,7 +1362,7 @@ int sb_encoder_ctl(void *state, int request, void *ptr)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* SPEEX_DISABLE_ENCODER */
|
||||||
|
|
||||||
int sb_decoder_ctl(void *state, int request, void *ptr)
|
int sb_decoder_ctl(void *state, int request, void *ptr)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,6 @@ typedef struct SBEncState {
|
||||||
int nbSubframes; /**< Number of high-band sub-frames*/
|
int nbSubframes; /**< Number of high-band sub-frames*/
|
||||||
int windowSize; /**< Length of high-band LPC window*/
|
int windowSize; /**< Length of high-band LPC window*/
|
||||||
int lpcSize; /**< Order of high-band LPC analysis */
|
int lpcSize; /**< Order of high-band LPC analysis */
|
||||||
int bufSize; /**< Buffer size */
|
|
||||||
int first; /**< First frame? */
|
int first; /**< First frame? */
|
||||||
float lag_factor; /**< Lag-windowing control parameter */
|
float lag_factor; /**< Lag-windowing control parameter */
|
||||||
spx_word16_t lpc_floor; /**< Controls LPC analysis noise floor */
|
spx_word16_t lpc_floor; /**< Controls LPC analysis noise floor */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue