Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
goertzel_state_t Struct Reference

Data Fields

int chunky
 
int fac
 
int v2
 
int v3
 

Detailed Description

Definition at line 249 of file dsp.c.

Field Documentation

int chunky

v2 and v3 power of two exponent to keep value in int range

Definition at line 255 of file dsp.c.

int fac

15 bit fixed point goertzel coefficient = 2 * cos(2 * pi * freq / sample_rate)

Definition at line 257 of file dsp.c.

int v2

The previous previous sample calculation (No binary point just plain int)

Definition at line 251 of file dsp.c.

Referenced by ast_dsp_reset().

int v3

The previous sample calculation (No binary point just plain int)

Definition at line 253 of file dsp.c.

Referenced by ast_dsp_reset().


The documentation for this struct was generated from the following file: