search for: m_esencst

Displaying 3 results from an estimated 3 matches for "m_esencst".

2005 Sep 02
2
DTX mode using preprocessor?
...cket with the 'dtx_enable' flag in it, so the decoder on the other end knows it's in dtx mode? (and SPEEX_GET_DTX_STATUS returns 1) At the moment, I can hack around it by doing something like: if (VAD for prev frame && ! VAD for this frame) { iArg = 0; speex_encoder_ctl(m_esEncState,SPEEX_SET_VBR, &iArg); speex_encoder_ctl(m_esEncState,SPEEX_SET_QUALITY, &iArg); SBEncState *sbe = static_cast<SBEncState *>(m_esEncState); EncState *es = static_cast<EncState *>(sbe->st_low); es->dtx_count = 1; } (in wideband) .. which forces speex to se...
2005 Sep 04
0
DTX mode using preprocessor?
...flag in it, so the decoder on the other end > knows it's in dtx mode? (and SPEEX_GET_DTX_STATUS returns 1) > > At the moment, I can hack around it by doing something like: > > if (VAD for prev frame && ! VAD for this frame) { > iArg = 0; > speex_encoder_ctl(m_esEncState,SPEEX_SET_VBR, &iArg); > speex_encoder_ctl(m_esEncState,SPEEX_SET_QUALITY, &iArg); > > SBEncState *sbe = static_cast<SBEncState *>(m_esEncState); > EncState *es = static_cast<EncState *>(sbe->st_low); > es->dtx_count = 1; > } > > (i...
2005 Sep 04
1
DTX mode using preprocessor?
...r on the other end >> knows it's in dtx mode? (and SPEEX_GET_DTX_STATUS returns 1) >> >> At the moment, I can hack around it by doing something like: >> >> if (VAD for prev frame && ! VAD for this frame) { >> iArg = 0; >> speex_encoder_ctl(m_esEncState,SPEEX_SET_VBR, &iArg); >> speex_encoder_ctl(m_esEncState,SPEEX_SET_QUALITY, &iArg); >> >> SBEncState *sbe = static_cast<SBEncState *>(m_esEncState); >> EncState *es = static_cast<EncState *>(sbe->st_low); >> es->dtx_count = 1; &...