diff options
author | Piotr Krysik <ptrkrysik@gmail.com> | 2016-06-29 22:22:27 +0200 |
---|---|---|
committer | Piotr Krysik <ptrkrysik@gmail.com> | 2016-06-29 22:22:27 +0200 |
commit | 0a60e7a70a44bc5b3bb49be1ca623c93f9d339ee (patch) | |
tree | 43b4d65f2c8dd691f7d31e726d8ae4ea349ab509 /lib/decoding | |
parent | 72db257caa467138dcf5ca26b039b3e52e6717ca (diff) |
Corrections of tch/f decoder - removal of parameter continued
Diffstat (limited to 'lib/decoding')
-rw-r--r-- | lib/decoding/tch_f_decoder_impl.cc | 8 | ||||
-rw-r--r-- | lib/decoding/tch_f_decoder_impl.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/decoding/tch_f_decoder_impl.cc b/lib/decoding/tch_f_decoder_impl.cc index b9aa057..cc88c90 100644 --- a/lib/decoding/tch_f_decoder_impl.cc +++ b/lib/decoding/tch_f_decoder_impl.cc @@ -35,16 +35,16 @@ namespace gr { namespace gsm { tch_f_decoder::sptr - tch_f_decoder::make(tch_mode mode, const std::string &file, bool boundary_check) + tch_f_decoder::make(tch_mode mode, bool boundary_check) { return gnuradio::get_initial_sptr - (new tch_f_decoder_impl(mode, file, boundary_check)); + (new tch_f_decoder_impl(mode, boundary_check)); } /* * Constructor */ - tch_f_decoder_impl::tch_f_decoder_impl(tch_mode mode, const std::string &file, bool boundary_check) + tch_f_decoder_impl::tch_f_decoder_impl(tch_mode mode, bool boundary_check) : gr::block("tch_f_decoder", gr::io_signature::make(0, 0, 0), gr::io_signature::make(0, 0, 0)), @@ -249,7 +249,7 @@ namespace gr { return; } - // Decode voice frames and write to file + // Decode voice frames and send to the output if (d_tch_mode == TCH_FS || d_tch_mode == TCH_EFR) { mVR204Coder.decode(mClass1_c, mTCHU); diff --git a/lib/decoding/tch_f_decoder_impl.h b/lib/decoding/tch_f_decoder_impl.h index c6eda09..0119b5a 100644 --- a/lib/decoding/tch_f_decoder_impl.h +++ b/lib/decoding/tch_f_decoder_impl.h @@ -89,7 +89,7 @@ namespace gr { void decode(pmt::pmt_t msg); void setCodingMode(tch_mode mode); public: - tch_f_decoder_impl(tch_mode mode, const std::string &file, bool boundary_check=false); + tch_f_decoder_impl(tch_mode mode, bool boundary_check=false); ~tch_f_decoder_impl(); }; |