2016-03-01 17:40:38 +00:00
|
|
|
|
2021-11-28 12:11:19 +00:00
|
|
|
double audio_mean_level(sample_t *samples, int length);
|
2016-03-01 17:40:38 +00:00
|
|
|
|
2017-01-27 15:57:34 +00:00
|
|
|
typedef struct goertzel {
|
|
|
|
double coeff;
|
|
|
|
} goertzel_t;
|
|
|
|
|
|
|
|
void audio_goertzel_init(goertzel_t *goertzel, double freq, int samplerate);
|
|
|
|
void audio_goertzel(goertzel_t *goertzel, sample_t *samples, int length, int offset, double *result, int k);
|
2016-03-01 17:40:38 +00:00
|
|
|
|