Displaying 1 result from an estimated 1 matches for "trigger_high".
2005 Sep 22
1
Noise :-(
...c > NN)||(c == Modem->buffer_size)) {
ret = speex_preprocess(Modem->speex_pp_state, TEMP_Buffer, NULL);
if(ret > 0) {
Modem->trigger++;
} else if(Modem->trigger > 0) {
Modem->trigger--;
}
if(Modem->is_onair) {
Modem->trigger = Modem->trigger_high;
/* Se siamo ON AIR, colleziona i dati audio VALIDI in un buffer separato */
for(d=0;d<tbc;d++) {
Modem->audiobuffer[Modem->audio_count] = TEMP_Buffer[d];
Modem->audio_count++;
}
}
tbc = 0;
bzero(&TEMP_Buffer,NN);
}
=============================...