diff options
author | A. Maitland Bottoms <bottoms@debian.org> | 2019-03-11 22:54:21 -0400 |
---|---|---|
committer | Andrej Rode <mail@andrejro.de> | 2019-03-24 20:14:42 +0100 |
commit | e02eed791069c82bd262f4b2cbe324db76326e54 (patch) | |
tree | 8d7393cb9ef7caa8a2088d66ca19f1a285307b5f /gr-vocoder/lib/freedv_rx_ss_impl.h | |
parent | b9e5abc5972706f078a51b6d0bb9dbb6535c5b9c (diff) |
gr-vocoder: update codec2 and freedv blocks.
Update to add support for newer modes in codec2 0.8.1.
Fixup grc blocks yml templates, update examples.
Diffstat (limited to 'gr-vocoder/lib/freedv_rx_ss_impl.h')
-rw-r--r-- | gr-vocoder/lib/freedv_rx_ss_impl.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gr-vocoder/lib/freedv_rx_ss_impl.h b/gr-vocoder/lib/freedv_rx_ss_impl.h index acc49d9d82..56a770be36 100644 --- a/gr-vocoder/lib/freedv_rx_ss_impl.h +++ b/gr-vocoder/lib/freedv_rx_ss_impl.h @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2016 Free Software Foundation, Inc. + * Copyright 2016-2019 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -53,18 +53,24 @@ namespace gr { int d_total_bit_errors; float d_snr_est; float d_squelch_thresh; + bool d_squelch_en; int d_speech_samples; int d_max_modem_samples; float d_clock_offset; int d_use_codecrx; + int d_interleave_frames; +#ifdef FREEDV_MODE_700D + struct freedv_advanced d_adv; +#endif struct CODEC2 *d_c2 = NULL; public: - freedv_rx_ss_impl(int mode, float squelch_thresh); + freedv_rx_ss_impl(int mode, float squelch_thresh, int interleave_frames); ~freedv_rx_ss_impl(); void set_squelch_thresh(float squelch_thresh); float squelch_thresh(); + void set_squelch_en(bool squelch_enabled); // Where all the action really happens void forecast(int noutput_items, gr_vector_int &ninput_items_required); |