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:
Jared Boone 2015-07-17 23:16:09 -07:00
parent ffc50785b7
commit 6f2cbd1ac5
4 changed files with 34 additions and 19 deletions

View file

@ -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 {