From 16233d78cca3650f40a6131c79e0c916d4392c3f Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Tue, 20 Apr 2021 09:11:59 +0200 Subject: [PATCH] Apply minor cosmetic changes Two blank lines within methods, for consistency with other files --- src/algorithms/signal_source/adapters/fifo_signal_source.cc | 4 ++++ src/algorithms/signal_source/gnuradio_blocks/fifo_reader.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/algorithms/signal_source/adapters/fifo_signal_source.cc b/src/algorithms/signal_source/adapters/fifo_signal_source.cc index 9ab222ebf..47b4620d5 100644 --- a/src/algorithms/signal_source/adapters/fifo_signal_source.cc +++ b/src/algorithms/signal_source/adapters/fifo_signal_source.cc @@ -52,6 +52,7 @@ FifoSignalSource::FifoSignalSource(ConfigurationInterface const* configuration, } } + void FifoSignalSource::connect(gr::top_block_sptr top_block) { // here we could add a throttle as done in the file_source_base if required @@ -62,6 +63,7 @@ void FifoSignalSource::connect(gr::top_block_sptr top_block) } } + void FifoSignalSource::disconnect(gr::top_block_sptr top_block) { if (dump_) @@ -71,11 +73,13 @@ void FifoSignalSource::disconnect(gr::top_block_sptr top_block) } } + size_t FifoSignalSource::item_size() { return item_size_; } + gr::basic_block_sptr FifoSignalSource::get_left_block() { LOG(WARNING) << "Left block of a signal source should not be retrieved"; diff --git a/src/algorithms/signal_source/gnuradio_blocks/fifo_reader.h b/src/algorithms/signal_source/gnuradio_blocks/fifo_reader.h index 4ddf281cd..3d4e0c520 100644 --- a/src/algorithms/signal_source/gnuradio_blocks/fifo_reader.h +++ b/src/algorithms/signal_source/gnuradio_blocks/fifo_reader.h @@ -49,7 +49,6 @@ private: //! (gr handles this with public and private header pair) FifoReader(const std::string &file_name, const std::string &sample_type); - size_t read_gr_complex(int noutput_items, gr_vector_void_star &output_items); //! function to read data out of FIFO which is stored as interleaved I/Q stream. //! template argument determines sample_type