From 0a60e7a70a44bc5b3bb49be1ca623c93f9d339ee Mon Sep 17 00:00:00 2001 From: Piotr Krysik Date: Wed, 29 Jun 2016 22:22:27 +0200 Subject: Corrections of tch/f decoder - removal of parameter continued --- lib/decoding/tch_f_decoder_impl.cc | 8 ++++---- lib/decoding/tch_f_decoder_impl.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/decoding') 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(); }; -- cgit v1.2.3