Displaying 2 results from an estimated 2 matches for "mb_iconerror".
2007 Aug 24
0
speex DTX chore
...x_bits_init(&bits);
if(fs == 8000)
{
enc_state = speex_encoder_init(&speex_nb_mode);
}
else if(fs == 16000)
{
enc_state = speex_encoder_init(&speex_wb_mode);
}
else
{
MessageBox(NULL, "bad sampling frequency!", "SpeexEncoder", MB_OK | MB_ICONERROR);
}
int enc_frame;
speex_encoder_ctl(enc_state, SPEEX_GET_FRAME_SIZE, &enc_frame);
frame_size = enc_frame;
// Set the quality
speex_encoder_ctl(enc_state, SPEEX_SET_QUALITY, &qlty);
// Set DTX
speex_encoder_ctl(enc_state, SPEEX_SET_DTX, &dtx);
//load lookahead
spe...
2006 Mar 03
0
Fw: Voice Activation Level (speex 1.1.11.1)
...SPEEX_PREPROCESS_GET_PROB_CONTINUE,
&g.s.VADcontin);
/*char *lisDebugCh = (char*) malloc(20);
int decimalFcvt, signFcvt;
static int firstDebug = 1;
lisDebugCh = gcvt(g.s.VADstart, 20, lisDebugCh);
if(firstDebug == 1)
{
::MessageBoxA(NULL, lisDebugCh, "Mumble", MB_OK | MB_ICONERROR);
firstDebug = 0;
}*/
g.s.VADstart = 0.90f;
f.s.VADcontin = 0.90f;
speex_preprocess_ctl(sppPreprocess, SPEEX_PREPROCESS_SET_PROB_START,
&g.s.VADstart);
speex_preprocess_ctl(sppPreprocess, SPEEX_PREPROCESS_SET_PROB_CONTINUE,
&g.s.VADcontin);
but nothing is changed. The micro...