From: drowe67 Date: Sun, 28 Jun 2015 04:38:28 +0000 (+0000) Subject: a little more work on squelch X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=2ac4f50935cd440921fa79298ca4f4ddc600440c;p=freetel-svn-tracking.git a little more work on squelch git-svn-id: https://svn.code.sf.net/p/freetel/code@2223 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2-dev/src/freedv_api.c b/codec2-dev/src/freedv_api.c index 64aeb79e..4be815c5 100644 --- a/codec2-dev/src/freedv_api.c +++ b/codec2-dev/src/freedv_api.c @@ -590,7 +590,6 @@ int freedv_comprx(struct freedv *f, short speech_out[], COMP demod_in[]) { if ((f->squelch_en && (f->stats.snr_est < f->snr_squelch_thresh)) || f->test_frames) { for(i=0; in_speech_samples; i++) speech_out[i] = 0; - fprintf(stderr, "sq! "); } nout = f->n_speech_samples; @@ -632,7 +631,6 @@ int freedv_comprx(struct freedv *f, short speech_out[], COMP demod_in[]) { /* optional smoothing of codec symbols */ if (f->smooth_symbols) { - float tmp; for(i=0; isquelch_en && (f->stats.snr_est < f->snr_squelch_thresh)) { for(i=0; in_speech_samples; i++) speech_out[i] = 0; - fprintf(stderr, "sq! "); } speech_out += codec2_samples_per_frame(f->codec2); }