mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-06 08:41:53 +00:00
Add second pocsag proc for experimenting (#1428)
This commit is contained in:
@@ -31,9 +31,12 @@
|
||||
|
||||
class FMSquelch {
|
||||
public:
|
||||
/* Check if noise level is lower than threshold.
|
||||
* Returns true if noise is below threshold. */
|
||||
bool execute(const buffer_f32_t& audio);
|
||||
|
||||
void set_threshold(const float new_value);
|
||||
bool enabled() const;
|
||||
|
||||
private:
|
||||
static constexpr size_t N = 32;
|
||||
|
||||
Reference in New Issue
Block a user