[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 05/09: channels: fixing a minor bug in the
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 05/09: channels: fixing a minor bug in the flag_fader model. |
Date: |
Fri, 25 Apr 2014 16:44:34 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch maint
in repository gnuradio.
commit 53ac8e81710ababafba629ac6b6c2b65622af0cd
Author: Tom Rondeau <address@hidden>
Date: Thu Apr 24 10:00:38 2014 -0400
channels: fixing a minor bug in the flag_fader model.
Bug fix from 'qin 1921' submitted to GR mailing list.
---
gr-channels/lib/flat_fader_impl.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gr-channels/lib/flat_fader_impl.cc
b/gr-channels/lib/flat_fader_impl.cc
index af35e29..33cf37d 100644
--- a/gr-channels/lib/flat_fader_impl.cc
+++ b/gr-channels/lib/flat_fader_impl.cc
@@ -64,7 +64,7 @@ namespace gr {
gr_complex H(0,0);
for(int n=1; n<d_N; n++){
- float alpha_n = (2*M_PI*n - M_PI + d_theta)/4*d_N;
+ float alpha_n = (2*M_PI*n - M_PI + d_theta)/(4*d_N);
#if FASTSINCOS == 1
float s_i =
scale_sin*gr::fxpt::cos(gr::fxpt::float_to_fixed(2*M_PI*d_fDTs*d_m*gr::fxpt::cos(gr::fxpt::float_to_fixed(alpha_n))+d_psi[n+1]));
float s_q =
scale_sin*gr::fxpt::cos(gr::fxpt::float_to_fixed(2*M_PI*d_fDTs*d_m*gr::fxpt::sin(gr::fxpt::float_to_fixed(alpha_n))+d_phi[n+1]));
- [Commit-gnuradio] [gnuradio] branch maint updated (1567cbc -> aa4a33d), git, 2014/04/25
- [Commit-gnuradio] [gnuradio] 07/09: blocks: fixed documentation for what the max_XX block does., git, 2014/04/25
- [Commit-gnuradio] [gnuradio] 04/09: runtime: enable thread priority, same as with Linux; fix header comments to this effect, git, 2014/04/25
- [Commit-gnuradio] [gnuradio] 05/09: channels: fixing a minor bug in the flag_fader model.,
git <=
- [Commit-gnuradio] [gnuradio] 09/09: Merge branch 'maint' of git.gnuradio.org:gnuradio into maint, git, 2014/04/25
- [Commit-gnuradio] [gnuradio] 03/09: audio: osx: rename d_buffer_sample_count -> d_buffer_size_samples; truth in naming!, git, 2014/04/25
- [Commit-gnuradio] [gnuradio] 02/09: whitespace only, git, 2014/04/25
- [Commit-gnuradio] [gnuradio] 01/09: audio: osx audio fixes, git, 2014/04/25
- [Commit-gnuradio] [gnuradio] 08/09: cmake: fixes expansion of ${pyexe_native} for cross builds with the use of VERBATIM., git, 2014/04/25
- [Commit-gnuradio] [gnuradio] 06/09: docs: fixed typo with logger docs., git, 2014/04/25