Implement AMConfigureMessage from M0 to M4.

This commit is contained in:
Jared Boone 2016-01-03 14:31:39 -08:00
parent f2f7032615
commit b5aa2b205f
5 changed files with 75 additions and 27 deletions

View file

@ -38,8 +38,6 @@
class NarrowbandAMAudio : public BasebandProcessor {
public:
NarrowbandAMAudio();
void execute(const buffer_c8_t& buffer) override;
void on_message(const Message* const message) override;
@ -56,6 +54,9 @@ private:
IIRBiquadFilter audio_hpf { audio_hpf_300hz_config };
SpectrumCollector channel_spectrum;
bool configured { false };
void configure(const AMConfigureMessage& message);
};
#endif/*__PROC_AM_AUDIO_H__*/