Displaying 4 results from an estimated 4 matches for "speex_get_dtx_status".
2005 Sep 02
2
DTX mode using preprocessor?
Could a method be added to use the VAD from the preprocessor to send the
packet 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...
2005 Sep 04
0
DTX mode using preprocessor?
...e
a patch :-)
Jean-Marc
Le samedi 03 septembre 2005 ? 00:47 +0200, Thorvald Natvig a ?crit :
> Could a method be added to use the VAD from the preprocessor to send the
> packet 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, &...
2005 Sep 04
1
DTX mode using preprocessor?
...n-Marc
>
> Le samedi 03 septembre 2005 ? 00:47 +0200, Thorvald Natvig a ?crit :
>> Could a method be added to use the VAD from the preprocessor to send the
>> packet 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_esEncStat...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...tr;
for (i=0;i<st->frameSize;i++)
e[i]=st->exc[i];
}
break;
case SPEEX_GET_INNOV:
{
int i;
spx_sig_t *e = (spx_sig_t*)ptr;
for (i=0;i<st->frameSize;i++)
e[i]=st->innov[i];
}
break;
case SPEEX_GET_DTX_STATUS:
*((long*)ptr) = st->dtx_enabled;
break;
default:
speex_warning_int("Unknown nb_ctl request: ", request);
return -1;
}
return 0;
}
-------------- next part --------------
/* speex_types.h taken from libogg */
/******************************************...