mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-29 03:31:26 -04:00
Partial refactor of channel filter frequency code.
Move channel filter frequency determination to baseband side, where the filtering is determined and performed. Add useful accessor methods to BlockDecimator.
This commit is contained in:
parent
ffc50785b7
commit
6f2cbd1ac5
4 changed files with 34 additions and 19 deletions
|
@ -186,6 +186,8 @@ struct ChannelSpectrum {
|
|||
std::array<uint8_t, 256>* db { nullptr };
|
||||
size_t db_count { 256 };
|
||||
uint32_t sampling_rate { 0 };
|
||||
uint32_t channel_filter_pass_frequency { 0 };
|
||||
uint32_t channel_filter_stop_frequency { 0 };
|
||||
};
|
||||
|
||||
class ChannelSpectrumMessage : public Message {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue