if ((f->squelch_en && (f->stats.snr_est < f->snr_squelch_thresh)) || f->test_frames) {
for(i=0; i<f->n_speech_samples; i++)
speech_out[i] = 0;
- fprintf(stderr, "sq! ");
}
nout = f->n_speech_samples;
/* optional smoothing of codec symbols */
if (f->smooth_symbols) {
- float tmp;
for(i=0; i<bits_per_codec_frame; i++) {
rx_bits[i] += rx_bits[i+bits_per_codec_frame];
if (f->squelch_en && (f->stats.snr_est < f->snr_squelch_thresh)) {
for(i=0; i<f->n_speech_samples; i++)
speech_out[i] = 0;
- fprintf(stderr, "sq! ");
}
speech_out += codec2_samples_per_frame(f->codec2);
}