commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 02/02: filter: fixes tag propagation throug


From: git
Subject: [Commit-gnuradio] [gnuradio] 02/02: filter: fixes tag propagation through the pfb_channelizer.
Date: Mon, 5 May 2014 13:15:46 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch maint
in repository gnuradio.

commit 3e08e49892961ffad0b14c1a108f7f5cfd2db332
Author: Tom Rondeau <address@hidden>
Date:   Mon May 5 07:49:45 2014 -0400

    filter: fixes tag propagation through the pfb_channelizer.
---
 gr-filter/lib/pfb_channelizer_ccf_impl.cc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gr-filter/lib/pfb_channelizer_ccf_impl.cc 
b/gr-filter/lib/pfb_channelizer_ccf_impl.cc
index d4f099f..fe1966b 100644
--- a/gr-filter/lib/pfb_channelizer_ccf_impl.cc
+++ b/gr-filter/lib/pfb_channelizer_ccf_impl.cc
@@ -60,7 +60,7 @@ namespace gr {
       if(fabsf(srate - rsrate) > 0.00001)
        throw std::invalid_argument("pfb_channelizer: oversample rate must be 
N/i for i in [1, N]");
 
-      set_relative_rate(1.0/srate);
+      set_relative_rate(srate);
 
       // Default channel map. The channel map specifies which input
       // goes to which output channel; so out[0] comes from
@@ -93,6 +93,10 @@ namespace gr {
 
       // Use set_taps to also set the history requirement
       set_taps(taps);
+
+      // because we need a stream_to_streams block for the input,
+      // only send tags from in[i] -> out[i].
+      set_tag_propagation_policy(TPP_ONE_TO_ONE);
     }
 
     pfb_channelizer_ccf_impl::~pfb_channelizer_ccf_impl()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]