mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-02 19:46:45 -04:00
Implement AMConfigureMessage from M0 to M4.
This commit is contained in:
parent
f2f7032615
commit
b5aa2b205f
5 changed files with 75 additions and 27 deletions
|
@ -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__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue