commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 02/08: qtgui: fixed problem with setting ff


From: git
Subject: [Commit-gnuradio] [gnuradio] 02/08: qtgui: fixed problem with setting fft size and averaging of the float waterfall at runtime.
Date: Thu, 23 Oct 2014 22:03:16 +0000 (UTC)

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

trondeau pushed a commit to branch master
in repository gnuradio.

commit c3aec5bbd1b1cdc0e539d0c6b5572e617ef3fed0
Author: Tom Rondeau <address@hidden>
Date:   Wed Oct 22 12:31:35 2014 -0400

    qtgui: fixed problem with setting fft size and averaging of the float 
waterfall at runtime.
---
 gr-qtgui/lib/waterfall_sink_f_impl.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gr-qtgui/lib/waterfall_sink_f_impl.cc 
b/gr-qtgui/lib/waterfall_sink_f_impl.cc
index 5667acf..14ddc2b 100644
--- a/gr-qtgui/lib/waterfall_sink_f_impl.cc
+++ b/gr-qtgui/lib/waterfall_sink_f_impl.cc
@@ -398,7 +398,8 @@ namespace gr {
     {
       gr::thread::scoped_lock lock(d_setlock);
 
-      int newfftsize = d_fftsize;
+      int newfftsize = d_main_gui->getFFTSize();
+      d_fftavg = d_main_gui->getFFTAverage();
 
       if(newfftsize != d_fftsize) {
 



reply via email to

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