mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-23 17:28:19 +00:00
Default constructors and configure methods for baseband classes.
This commit is contained in:
@@ -33,10 +33,14 @@
|
||||
|
||||
class WidebandFMAudio : public BasebandProcessor {
|
||||
public:
|
||||
WidebandFMAudio() {
|
||||
decimator.set_decimation_factor(ChannelDecimator::DecimationFactor::By4);
|
||||
}
|
||||
|
||||
void execute(buffer_c8_t buffer) override;
|
||||
|
||||
private:
|
||||
ChannelDecimator decimator { ChannelDecimator::DecimationFactor::By4 };
|
||||
ChannelDecimator decimator;
|
||||
|
||||
dsp::demodulate::FM demod { 768000, 75000 };
|
||||
dsp::decimate::DecimateBy2CIC4Real audio_dec_1;
|
||||
|
Reference in New Issue
Block a user