summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general
diff options
context:
space:
mode:
authorTom Rondeau2010-11-07 15:21:11 -0500
committerTom Rondeau2010-11-07 15:21:11 -0500
commit53eee1c624794056fcba50a5eb50b864cbf159dd (patch)
treee27f75234767c9baacdde17488f5d30e000e4c9f /gnuradio-core/src/lib/general
parent2aef04843d248d0584b4865c62d7ca0772113dc9 (diff)
parent1fa9a8ea31115b878bff48d2259fc72d1a37b52c (diff)
downloadgnuradio-53eee1c624794056fcba50a5eb50b864cbf159dd.tar.gz
gnuradio-53eee1c624794056fcba50a5eb50b864cbf159dd.tar.bz2
gnuradio-53eee1c624794056fcba50a5eb50b864cbf159dd.zip
Merge branch 'master' into next
* master: Sneaking in a few warning fixes to this branch. Adding ability for FIR filter with internal buffer to decimate. Adds a new parameter "y_axis_label" to scopesink2 and the GRC .xml file that contains the string for the Y axis label. It defaults to 'Counts' to be consistent with the old version. Adding ccf version of fir filter to gitignore. Removing nonexistent gri .i file from Makefile. Got a bit carried away with the copy/paste. Removing ccf version of filter that is now autogenerated. Fixing up filters a bit to pass QA tests for all versions. Fixes Makefile for fir filter generators. Using generators to make gri_fir_filter_with_buffer_XXX into all possible in/out/tap types we support. Work on examples for the synthesize filterbank block. The cleans up the simple example and adds a new example that synthesizes a number of signals and then channelizes them again. It displays the synthesized PSD as well as the PSD and time waveform of one of the channels that's specified in teh code. Adding QA code for fir filter with buffer. Cleaning up synthesis filter and using new FIR filter with buffer. Cleaning up the new FIR filter implementation. Protects against some corner cases and adds filterN. Adding a test example for the synthesis filter. Adding a FIR filter implemented with its own internal buffer. This one keeps its own delay line and just takes in input samples instead of a pointer to an external buffer. rearrange includes to always be: internal GR, external, with GR. Can now set more channels than input signals. Empty channels are established as the outtermost channels (around fs/2 and -fs/2). Fixing ordering so that the input channels line up in the output signal properly. Adding the synthesis filterbank (the opposite of the channelizer). It's ugly right now and uses a lot of memory to handle the buffers for each filter/input stream.
Diffstat (limited to 'gnuradio-core/src/lib/general')
-rw-r--r--gnuradio-core/src/lib/general/gr_fll_band_edge_cc.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/general/gr_fll_band_edge_cc.cc b/gnuradio-core/src/lib/general/gr_fll_band_edge_cc.cc
index ff997e7a9..c32398e6d 100644
--- a/gnuradio-core/src/lib/general/gr_fll_band_edge_cc.cc
+++ b/gnuradio-core/src/lib/general/gr_fll_band_edge_cc.cc
@@ -161,8 +161,9 @@ gr_fll_band_edge_cc::work (int noutput_items,
const gr_complex *in = (const gr_complex *) input_items[0];
gr_complex *out = (gr_complex *) output_items[0];
- float *frq, *phs;
- gr_complex *err;
+ float *frq = NULL;
+ float *phs = NULL;
+ gr_complex *err = NULL;
if(output_items.size() > 2) {
frq = (float *) output_items[1];
phs = (float *) output_items[2];