mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-27 08:46:01 -04:00
ReceiverModel: Use Mode instead of integer.
This commit is contained in:
parent
371c6e0906
commit
f05d917a7c
3 changed files with 9 additions and 9 deletions
|
@ -64,8 +64,8 @@ public:
|
|||
uint32_t sampling_rate() const;
|
||||
void set_sampling_rate(uint32_t v);
|
||||
|
||||
uint32_t modulation() const;
|
||||
void set_modulation(uint32_t v);
|
||||
Mode modulation() const;
|
||||
void set_modulation(Mode v);
|
||||
|
||||
volume_t headphone_volume() const;
|
||||
void set_headphone_volume(volume_t v);
|
||||
|
@ -92,7 +92,7 @@ private:
|
|||
int32_t lna_gain_db_ { 32 };
|
||||
uint32_t baseband_bandwidth_ { max2837::filter::bandwidth_minimum };
|
||||
int32_t vga_gain_db_ { 32 };
|
||||
uint32_t mode_ { 1 };
|
||||
Mode mode_ { Mode::NarrowbandFMAudio };
|
||||
uint32_t sampling_rate_ { 3072000 };
|
||||
size_t decimation_factor_ { 1 };
|
||||
size_t am_config_index = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue