commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r10880 - gnuradio/branches/developers/jcorgan/t161/gr-


From: jcorgan
Subject: [Commit-gnuradio] r10880 - gnuradio/branches/developers/jcorgan/t161/gr-wxgui/src/python
Date: Sun, 19 Apr 2009 14:39:37 -0600 (MDT)

Author: jcorgan
Date: 2009-04-19 14:39:37 -0600 (Sun, 19 Apr 2009)
New Revision: 10880

Modified:
   gnuradio/branches/developers/jcorgan/t161/gr-wxgui/src/python/fftsink_gl.py
   gnuradio/branches/developers/jcorgan/t161/gr-wxgui/src/python/scopesink_gl.py
   
gnuradio/branches/developers/jcorgan/t161/gr-wxgui/src/python/waterfallsink_gl.py
Log:
Remove some uses of kludge_copy

Modified: 
gnuradio/branches/developers/jcorgan/t161/gr-wxgui/src/python/fftsink_gl.py
===================================================================
--- gnuradio/branches/developers/jcorgan/t161/gr-wxgui/src/python/fftsink_gl.py 
2009-04-19 20:21:57 UTC (rev 10879)
+++ gnuradio/branches/developers/jcorgan/t161/gr-wxgui/src/python/fftsink_gl.py 
2009-04-19 20:39:37 UTC (rev 10880)
@@ -63,7 +63,6 @@
                        gr.io_signature(0, 0, 0),
                )
                #blocks
-               copy = gr.kludge_copy(self._item_size)
                fft = self._fft_chain(
                        sample_rate=sample_rate,
                        fft_size=fft_size,
@@ -75,7 +74,7 @@
                msgq = gr.msg_queue(2)
                sink = gr.message_sink(gr.sizeof_float*fft_size, msgq, True)
                #connect
-               self.connect(self, copy, fft, sink)
+               self.connect(self, fft, sink)
                #controller
                self.controller = pubsub()
                self.controller.subscribe(AVERAGE_KEY, fft.set_average)

Modified: 
gnuradio/branches/developers/jcorgan/t161/gr-wxgui/src/python/scopesink_gl.py
===================================================================
--- 
gnuradio/branches/developers/jcorgan/t161/gr-wxgui/src/python/scopesink_gl.py   
    2009-04-19 20:21:57 UTC (rev 10879)
+++ 
gnuradio/branches/developers/jcorgan/t161/gr-wxgui/src/python/scopesink_gl.py   
    2009-04-19 20:39:37 UTC (rev 10880)
@@ -42,13 +42,12 @@
                        gr.io_signature(1, 1, gr.sizeof_float),
                )
                #blocks
-               copy = gr.kludge_copy(gr.sizeof_float)
                lpf = gr.single_pole_iir_filter_ff(0.0)
                sub = gr.sub_ff()
                mute = gr.mute_ff()
                #connect
-               self.connect(self, copy, sub, self)
-               self.connect(copy, lpf, mute, (sub, 1))
+               self.connect(self, sub, self)
+               self.connect(self, lpf, mute, (sub, 1))
                #subscribe
                controller.subscribe(ac_couple_key, lambda x: mute.set_mute(not 
x))
                controller.subscribe(sample_rate_key, lambda x: 
lpf.set_taps(2.0/x))

Modified: 
gnuradio/branches/developers/jcorgan/t161/gr-wxgui/src/python/waterfallsink_gl.py
===================================================================
--- 
gnuradio/branches/developers/jcorgan/t161/gr-wxgui/src/python/waterfallsink_gl.py
   2009-04-19 20:21:57 UTC (rev 10879)
+++ 
gnuradio/branches/developers/jcorgan/t161/gr-wxgui/src/python/waterfallsink_gl.py
   2009-04-19 20:39:37 UTC (rev 10880)
@@ -63,7 +63,6 @@
                        gr.io_signature(0, 0, 0),
                )
                #blocks
-               copy = gr.kludge_copy(self._item_size)
                fft = self._fft_chain(
                        sample_rate=sample_rate,
                        fft_size=fft_size,
@@ -75,7 +74,7 @@
                msgq = gr.msg_queue(2)
                sink = gr.message_sink(gr.sizeof_float*fft_size, msgq, True)
                #connect
-               self.connect(self, copy, fft, sink)
+               self.connect(self, fft, sink)
                #controller
                self.controller = pubsub()
                self.controller.subscribe(AVERAGE_KEY, fft.set_average)





reply via email to

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