summaryrefslogtreecommitdiff
path: root/gr-filter/include
diff options
context:
space:
mode:
authorTom Rondeau2012-06-22 20:08:06 -0400
committerTom Rondeau2012-06-22 20:08:06 -0400
commitc94ddc5e0c08693c023c099bd8946ca6e143f471 (patch)
treef485f5fa62b6d815b58fa9cd60d5a9d7e2384007 /gr-filter/include
parent81589710a52c0e1b087f28ac54e83b9cbfa477d1 (diff)
downloadgnuradio-c94ddc5e0c08693c023c099bd8946ca6e143f471.tar.gz
gnuradio-c94ddc5e0c08693c023c099bd8946ca6e143f471.tar.bz2
gnuradio-c94ddc5e0c08693c023c099bd8946ca6e143f471.zip
filter: fixed fir_filter_with_buffer to make sure nothing that volk looks at could be improperly set.
This fixed issues with qa_fir_filter_with_buffer.
Diffstat (limited to 'gr-filter/include')
-rw-r--r--gr-filter/include/filter/fir_filter_with_buffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-filter/include/filter/fir_filter_with_buffer.h b/gr-filter/include/filter/fir_filter_with_buffer.h
index 8b5d9e064..007eae3fa 100644
--- a/gr-filter/include/filter/fir_filter_with_buffer.h
+++ b/gr-filter/include/filter/fir_filter_with_buffer.h
@@ -40,6 +40,7 @@ namespace gr {
private:
std::vector<float> d_taps;
unsigned int d_ntaps;
+ float *d_buffer_ptr;
float *d_buffer;
unsigned int d_idx;
float **d_aligned_taps;
@@ -136,6 +137,7 @@ namespace gr {
private:
std::vector<gr_complex> d_taps;
unsigned int d_ntaps;
+ gr_complex *d_buffer_ptr;
gr_complex *d_buffer;
unsigned int d_idx;
gr_complex **d_aligned_taps;
@@ -232,6 +234,7 @@ namespace gr {
private:
std::vector<float> d_taps;
unsigned int d_ntaps;
+ gr_complex *d_buffer_ptr;
gr_complex *d_buffer;
unsigned int d_idx;
float **d_aligned_taps;