commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 01/01: filter: command messages to change f


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/01: filter: command messages to change frequency are all relative to the sample rate, not normalized.
Date: Tue, 8 Jul 2014 12:45:11 +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 3d6dc9c0ddb34d923b55a300bdd1356ce5b9a654
Author: Tom Rondeau <address@hidden>
Date:   Tue Jul 8 08:42:17 2014 -0400

    filter: command messages to change frequency are all relative to the sample 
rate, not normalized.
    
    This follows the update to the qtgui frequency message blocks in:
    eceee28baeed6ee0bdcb66f36992c2a5851ff3bd
---
 gr-filter/lib/freq_xlating_fir_filter_XXX_impl.cc.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gr-filter/lib/freq_xlating_fir_filter_XXX_impl.cc.t 
b/gr-filter/lib/freq_xlating_fir_filter_XXX_impl.cc.t
index 57fa47f..a9e70e7 100644
--- a/gr-filter/lib/freq_xlating_fir_filter_XXX_impl.cc.t
+++ b/gr-filter/lib/freq_xlating_fir_filter_XXX_impl.cc.t
@@ -132,7 +132,7 @@ namespace gr {
         pmt::pmt_t x = pmt::cdr(msg);
         if(pmt::is_real(x)) {
           double freq = pmt::to_double(x);
-          set_center_freq(freq*d_sampling_freq);
+          set_center_freq(freq);
         }
       }
     }



reply via email to

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