Wideband FM configuration messages from M0.

This commit is contained in:
Jared Boone
2016-01-03 13:38:55 -08:00
parent 317ec53638
commit f2f7032615
5 changed files with 99 additions and 29 deletions

View File

@@ -33,10 +33,10 @@
class WidebandFMAudio : public BasebandProcessor {
public:
WidebandFMAudio();
void execute(const buffer_c8_t& buffer) override;
void on_message(const Message* const message) override;
private:
dsp::decimate::FIRC8xR16x24FS4Decim4 decim_0;
dsp::decimate::FIRC16xR16x16Decim2 decim_1;
@@ -48,6 +48,9 @@ private:
IIRBiquadFilter audio_hpf { audio_hpf_30hz_config };
IIRBiquadFilter audio_deemph { audio_deemph_2122_6_config };
bool configured { false };
void configure(const WFMConfigureMessage& message);
};
#endif/*__PROC_WFM_AUDIO_H__*/