#include <dtmffilter.h>
Definition at line 7 of file dtmffilter.h.
Public Member Functions | |
| goertzel (int N, float targetFreq, float sampleRate) | |
| ~goertzel () | |
| int | process (short *samples, int length) |
Private Member Functions | |
| void | checkMatch () |
| void | processOneSample (short sample) |
| void | reset () |
| void | initialise (int N, float targetFreq, float sampleRate) |
Private Attributes | |
| float | Q1 |
| float | Q2 |
| float | coeff |
| float | sine |
| float | cosine |
| int | countToN |
| int | m_N |
| int | Match |
| goertzel::goertzel | ( | int | N, | |
| float | targetFreq, | |||
| float | sampleRate | |||
| ) |
Definition at line 172 of file dtmffilter.cpp.
| goertzel::~goertzel | ( | ) |
Definition at line 177 of file dtmffilter.cpp.
| int goertzel::process | ( | short * | samples, | |
| int | length | |||
| ) |
| void goertzel::checkMatch | ( | ) | [private] |
| void goertzel::processOneSample | ( | short | sample | ) | [private] |
| void goertzel::reset | ( | void | ) | [private] |
| void goertzel::initialise | ( | int | N, | |
| float | targetFreq, | |||
| float | sampleRate | |||
| ) | [private] |
float goertzel::Q1 [private] |
Definition at line 20 of file dtmffilter.h.
Referenced by checkMatch(), processOneSample(), and reset().
float goertzel::Q2 [private] |
Definition at line 20 of file dtmffilter.h.
Referenced by checkMatch(), processOneSample(), and reset().
float goertzel::coeff [private] |
Definition at line 20 of file dtmffilter.h.
Referenced by checkMatch(), initialise(), and processOneSample().
float goertzel::sine [private] |
float goertzel::cosine [private] |
int goertzel::countToN [private] |
int goertzel::m_N [private] |
int goertzel::Match [private] |
1.5.5