mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-03 20:24:13 -04:00
Default constructors and configure methods for baseband classes.
This commit is contained in:
parent
5236a858d0
commit
ddd34793a6
10 changed files with 65 additions and 77 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue