mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 05:47:53 +00:00
Formatted code (#1007)
* Updated style * Updated files * fixed new line * Updated spacing * File fix WIP * Updated to clang 13 * updated comment style * Removed old comment code
This commit is contained in:
@@ -28,16 +28,16 @@
|
||||
namespace dsp {
|
||||
|
||||
class GoertzelDetector {
|
||||
public:
|
||||
GoertzelDetector(const float frequency, const uint32_t sample_rate);
|
||||
|
||||
float execute(const buffer_s16_t& src);
|
||||
public:
|
||||
GoertzelDetector(const float frequency, const uint32_t sample_rate);
|
||||
|
||||
private:
|
||||
float coefficient { };
|
||||
int16_t s[2] { 0 };
|
||||
float execute(const buffer_s16_t& src);
|
||||
|
||||
private:
|
||||
float coefficient{};
|
||||
int16_t s[2]{0};
|
||||
};
|
||||
|
||||
} /* namespace dsp */
|
||||
|
||||
#endif/*__DSP_GOERTZEL_H__*/
|
||||
#endif /*__DSP_GOERTZEL_H__*/
|
||||
|
Reference in New Issue
Block a user