search for: dtx_count

Displaying 4 results from an estimated 4 matches for "dtx_count".

Did you mean: tx_count
2005 Sep 02
2
DTX mode using preprocessor?
...or 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 send the DTX packet and the remote side knows it can safely ignore that stream for the time being -- the lack of packets is completely intentional. While this works, it's an incredibly ugly hack, and I have to include a lot of the internal spe...
2005 Sep 04
0
DTX mode using preprocessor?
...> 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 send the DTX packet and the remote side knows it > can safely ignore that stream for the time being -- the lack of packets is > completely intentional. > > While this works, it's an incredibly ugly hack, and...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...lloc(sizeof(VBRState)); vbr_init(st->vbr); st->vbr_quality = 8; st->vbr_enabled = 0; st->vad_enabled = 0; st->dtx_enabled = 0; st->abr_enabled = 0; st->abr_drift = 0; st->plc_tuning = 2; st->complexity=2; st->sampling_rate=8000; st->dtx_count=0; #ifdef ENABLE_VALGRIND VALGRIND_MAKE_READABLE(st, (st->stack-(char*)st)); #endif return st; } void nb_encoder_destroy(void *state) { EncState *st=(EncState *)state; /* Free all allocated memory */ vbr_destroy(st->vbr); /*Free state memory... should be last*/ speex_...
2005 Sep 04
1
DTX mode using preprocessor?
...er_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; >> } (snip snip) I ran into another problem, actually. The jitter buffer doesn't really cope well with DTX. It will (naturally) reset as soon as speech resumes, but then it takes quite a few frames before it's adjusted again, meaning the first part of whatever is being said...