Microphone tx is mostly working, Voice activation, PTT, CTCSS...

Transmit bandwidth bugfix
TX LED is now only lit when using rf amp
VU-meter widget
Added gain parameter for baseband audio TX
This commit is contained in:
furrtek 2017-03-13 04:09:21 +00:00
parent 71999f216f
commit 69b0ef9a40
32 changed files with 523 additions and 194 deletions

View file

@ -35,27 +35,13 @@
class AudioInput {
public:
void configure(
const iir_biquad_config_t& hpf_config,
const float squelch_threshold = 0.0f
);
void read_audio_buffer(buffer_s16_t& audio);
/*void set_stream(std::unique_ptr<StreamInput> new_stream) {
stream = std::move(new_stream);
}*/
private:
static constexpr float k = 32768.0f;
/*static constexpr float k = 32768.0f;
static constexpr float ki = 1.0f / k;
IIRBiquadFilter hpf { };
//FMSquelch squelch { };
//std::unique_ptr<StreamInput> stream { };
//AudioStatsCollector audio_stats { };
IIRBiquadFilter hpf { };*/
};
#endif/*__AUDIO_INPUT_H__*/