Move AudioOutput back to inside audio processor classes.

Was wasting precious RAM making it static. I lose 400 bytes of .text, not sure why, but I think the trade is worth it.
This commit is contained in:
Jared Boone
2016-01-16 13:56:23 -08:00
parent 1d0de2240d
commit 58e6d26910
5 changed files with 9 additions and 4 deletions
+3
View File
@@ -27,6 +27,7 @@
#include "dsp_decimate.hpp"
#include "dsp_demodulate.hpp"
#include "audio_output.hpp"
#include "spectrum_collector.hpp"
class WidebandFMAudio : public BasebandProcessor {
@@ -56,6 +57,8 @@ private:
dsp::decimate::DecimateBy2CIC4Real audio_dec_2;
dsp::decimate::FIR64AndDecimateBy2Real audio_filter;
AudioOutput audio_output;
SpectrumCollector channel_spectrum;
size_t spectrum_interval_samples = 0;
size_t spectrum_samples = 0;