Asterisk - The Open Source Telephony Project GIT-master-f36a736
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

◆ chunky

int chunky

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

Definition at line 255 of file dsp.c.

Referenced by goertzel_init(), goertzel_reset(), goertzel_result(), and goertzel_sample().

◆ fac

int fac

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

Definition at line 257 of file dsp.c.

Referenced by goertzel_init(), goertzel_result(), and goertzel_sample().

◆ v2

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_call_progress(), ast_dsp_reset(), goertzel_init(), goertzel_reset(), goertzel_result(), and goertzel_sample().

◆ v3

int v3

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

Definition at line 253 of file dsp.c.

Referenced by __ast_dsp_call_progress(), ast_dsp_reset(), goertzel_init(), goertzel_reset(), goertzel_result(), and goertzel_sample().


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