mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-02 19:46:45 -04:00
Clean up baseband processor statics.
This commit is contained in:
parent
96898f82b2
commit
7c65a2d650
6 changed files with 17 additions and 23 deletions
|
@ -39,6 +39,10 @@ public:
|
|||
void on_message(const Message* const message) override;
|
||||
|
||||
private:
|
||||
static constexpr size_t baseband_fs = 3072000;
|
||||
static constexpr size_t channel_filter_decimation_factor = 1;
|
||||
static constexpr size_t post_channel_decimation_factor = 6;
|
||||
|
||||
std::array<complex16_t, 512> dst;
|
||||
const buffer_c16_t dst_buffer {
|
||||
dst.data(),
|
||||
|
@ -56,7 +60,6 @@ private:
|
|||
uint32_t channel_filter_pass_f;
|
||||
uint32_t channel_filter_stop_f;
|
||||
|
||||
static constexpr size_t post_channel_decimation_factor = 6;
|
||||
BlockDecimator<32> channel_block_buffer { post_channel_decimation_factor };
|
||||
|
||||
dsp::demodulate::AM demod;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue