Rebake of AM, NFM demodulators -- more flexible filtering/configuration.

Also make SpectrumCollector dynamically configurable.
Add deemphasis filter to NFM.
This commit is contained in:
Jared Boone
2015-12-29 10:58:53 -08:00
parent df593c2f0f
commit bbfcca8ec0
8 changed files with 249 additions and 64 deletions

View File

@@ -29,6 +29,12 @@
#include <algorithm>
void SpectrumCollector::set_decimation_factor(
const size_t decimation_factor
) {
channel_spectrum_decimator.set_factor(decimation_factor);
}
/* TODO: Refactor to register task with idle thread?
* It's sad that the idle thread has to call all the way back here just to
* perform the deferred task on the buffer of data we prepared.