mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 01:59:13 -04:00
Extract spectrum collector from BasebandProcessor.
Code size improvement, and less confused classes. :-)
This commit is contained in:
parent
75b1cc25ff
commit
088f60f2bc
15 changed files with 193 additions and 86 deletions
|
@ -38,7 +38,7 @@ void NarrowbandAMAudio::execute(const buffer_c8_t& buffer) {
|
|||
|
||||
// TODO: Feed channel_stats post-decimation data?
|
||||
feed_channel_stats(channel);
|
||||
feed_channel_spectrum(
|
||||
channel_spectrum.feed(
|
||||
channel,
|
||||
decimator_out.sampling_rate * channel_filter_taps.pass_frequency_normalized,
|
||||
decimator_out.sampling_rate * channel_filter_taps.stop_frequency_normalized
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue