Arbitrary bit rates seems to be working.
[debian/gnuradio] / gnuradio-examples / python / digital / usrp_receive_path.py
index 1375a2349b6c0fb73f0c7633dfb823667adabfcd..c7b70fb2d78be9ff384305d6f68726aa3f015a6b 100644 (file)
@@ -69,12 +69,8 @@ class usrp_receive_path(gr.hier_block2):
             if not attr.startswith('_') and not hasattr(self, attr):
                 setattr(self, attr, getattr(rx_path, attr))
 
-        # Set up resampler based on rate determined by _setup_usrp_source
-        rs_taps = gr.firdes.low_pass_2(32, 32, 0.45, 0.1, 60)
-        self.resampler = gr.pfb_arb_resampler_ccf(self.rs_rate, rs_taps)
-
         #connect
-        self.connect(self.u, self.resampler, rx_path)
+        self.connect(self.u, rx_path)
 
     def _setup_usrp_source(self, options):
         self.u = usrp_options.create_usrp_source(options)
@@ -83,11 +79,6 @@ class usrp_receive_path(gr.hier_block2):
         if options.verbose:
             print 'USRP Source:', self.u
 
-            
-        #(self._bitrate, self._samples_per_symbol, self._decim) = \
-        #                pick_rx_bitrate(options.bitrate, self._demod_class.bits_per_symbol(), \
-        #                                options.samples_per_symbol, options.decim, adc_rate,  \
-        #                                self.u.get_decim_rates())
         (self._bitrate, self._samples_per_symbol, self._decim) = \
                         pick_rx_bitrate(options.bitrate, self._demod_class.bits_per_symbol(), \
                                         adc_rate, self.u.get_decim_rates())