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:
jLynx
2023-05-19 08:16:05 +12:00
committed by GitHub
parent 7aca7ce74d
commit 033c4e9a5b
599 changed files with 70746 additions and 66896 deletions

View File

@@ -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__*/