commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r8805 - gnuradio/branches/developers/jblum/gr-wxglgui/


From: jcorgan
Subject: [Commit-gnuradio] r8805 - gnuradio/branches/developers/jblum/gr-wxglgui/src/python
Date: Sat, 5 Jul 2008 15:25:34 -0600 (MDT)

Author: jcorgan
Date: 2008-07-05 15:25:34 -0600 (Sat, 05 Jul 2008)
New Revision: 8805

Modified:
   gnuradio/branches/developers/jblum/gr-wxglgui/src/python/constsink.py
Log:
Use blks2 equivalent.

Modified: gnuradio/branches/developers/jblum/gr-wxglgui/src/python/constsink.py
===================================================================
--- gnuradio/branches/developers/jblum/gr-wxglgui/src/python/constsink.py       
2008-07-05 21:17:52 UTC (rev 8804)
+++ gnuradio/branches/developers/jblum/gr-wxglgui/src/python/constsink.py       
2008-07-05 21:25:34 UTC (rev 8805)
@@ -22,7 +22,7 @@
 ##################################################
 # Imports
 ##################################################
-from gnuradio import gr
+from gnuradio import gr, blks2
 import plotter
 import common
 import wx
@@ -239,7 +239,7 @@
                        gr.io_signature(0, 0, 0),
                )
                #blocks
-               self.sd = common.stream_decimator(
+               self.sd = blks2.stream_to_vector_decimator(
                        item_size=gr.sizeof_gr_complex,
                        sample_rate=sample_rate,
                        vec_rate=frame_rate,





reply via email to

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