[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 04/06: blocks/rotator: Make the input data
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 04/06: blocks/rotator: Make the input data 'const' |
Date: |
Tue, 28 Jan 2014 20:10:59 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit 6f3e96cf83f57a23b8d8cc109f56391ce29c6e7b
Author: Sylvain Munaut <address@hidden>
Date: Sat Jan 25 21:22:25 2014 +0100
blocks/rotator: Make the input data 'const'
The volk kernels are const and there is no reason to clobber the input
Signed-off-by: Sylvain Munaut <address@hidden>
---
gr-blocks/include/gnuradio/blocks/rotator.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gr-blocks/include/gnuradio/blocks/rotator.h
b/gr-blocks/include/gnuradio/blocks/rotator.h
index 7a63b46..9c3d9b6 100644
--- a/gr-blocks/include/gnuradio/blocks/rotator.h
+++ b/gr-blocks/include/gnuradio/blocks/rotator.h
@@ -57,7 +57,7 @@ namespace gr {
return z;
}
- void rotateN(gr_complex *out, gr_complex *in, int n)
+ void rotateN(gr_complex *out, const gr_complex *in, int n)
{
volk_32fc_s32fc_x2_rotator_32fc(out, in, d_phase_incr, &d_phase, n);
}
- [Commit-gnuradio] [gnuradio] branch master updated (8211786 -> 300f5fb), git, 2014/01/28
- [Commit-gnuradio] [gnuradio] 05/06: blocks: Add a new rotator_cc block to perform frequency shifting, git, 2014/01/28
- [Commit-gnuradio] [gnuradio] 06/06: Merge remote-tracking branch 'nwest/volk-sum_of_poly', git, 2014/01/28
- [Commit-gnuradio] [gnuradio] 04/06: blocks/rotator: Make the input data 'const',
git <=
- [Commit-gnuradio] [gnuradio] 03/06: blocks: Add QA tests for the rotator rotateN function which uses VOLK, git, 2014/01/28
- [Commit-gnuradio] [gnuradio] 01/06: volk: add avx u/a protokernel for 32f_x3sum_of_poly_32f, git, 2014/01/28
- [Commit-gnuradio] [gnuradio] 02/06: Merge branch 'volk-qa-fixes', git, 2014/01/28