summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rondeau2010-11-04 18:30:17 -0400
committerTom Rondeau2010-11-04 18:30:17 -0400
commit7f6f2a377bf8bca6880ecc030792202e09b631a7 (patch)
tree83e6b8bc08235d00479a3b10b4865f518bed1a51
parent70ca24e7cc6ba744589e3d5fb8077f706e813d28 (diff)
downloadgnuradio-7f6f2a377bf8bca6880ecc030792202e09b631a7.tar.gz
gnuradio-7f6f2a377bf8bca6880ecc030792202e09b631a7.tar.bz2
gnuradio-7f6f2a377bf8bca6880ecc030792202e09b631a7.zip
gr_buffer_reader doesn't need to know which input it is.
-rw-r--r--gnuradio-core/src/lib/runtime/gr_buffer.cc3
-rw-r--r--gnuradio-core/src/lib/runtime/gr_buffer.h4
2 files changed, 2 insertions, 5 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_buffer.cc b/gnuradio-core/src/lib/runtime/gr_buffer.cc
index da7866f48..58cffe495 100644
--- a/gnuradio-core/src/lib/runtime/gr_buffer.cc
+++ b/gnuradio-core/src/lib/runtime/gr_buffer.cc
@@ -264,8 +264,7 @@ gr_buffer_reader::update_read_pointer (int nitems)
}
std::deque<pmt::pmt_t>
-gr_buffer_reader::get_tags_in_range(unsigned int which_output,
- gr_uint64 abs_start,
+gr_buffer_reader::get_tags_in_range(gr_uint64 abs_start,
gr_uint64 abs_end)
{
std::deque<pmt::pmt_t> found_items;
diff --git a/gnuradio-core/src/lib/runtime/gr_buffer.h b/gnuradio-core/src/lib/runtime/gr_buffer.h
index e50f638b5..6498ee296 100644
--- a/gnuradio-core/src/lib/runtime/gr_buffer.h
+++ b/gnuradio-core/src/lib/runtime/gr_buffer.h
@@ -257,12 +257,10 @@ class gr_buffer_reader {
* Tags are tuples of:
* (item count, source id, key, value)
*
- * \param which_input an integer of which input stream to pull from
* \param abs_start a uint64 count of the start of the range of interest
* \param abs_end a uint64 count of the end of the range of interest
*/
- std::deque<pmt::pmt_t> get_tags_in_range(unsigned int which_input,
- gr_uint64 abs_start,
+ std::deque<pmt::pmt_t> get_tags_in_range(gr_uint64 abs_start,
gr_uint64 abs_end);
// -------------------------------------------------------------------------