mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-24 10:31:13 +00:00
19 lines
308 B
C
19 lines
308 B
C
#ifndef __GOERTZEL_H__
|
|
#define __GOERTZEL_H__
|
|
|
|
#ifndef _MSC_VER
|
|
#include <stdint.h>
|
|
#endif
|
|
#include "buffer.h"
|
|
|
|
#if !defined(M_PI)
|
|
/* C99 systems may not define M_PI */
|
|
#define M_PI 3.14159265358979323846264338327
|
|
#endif
|
|
|
|
extern double goertzel(circ_buffer_t *b, size_t pos, double f, size_t num);
|
|
|
|
#endif
|
|
|
|
|