Reference

DTMFDetect(3cc)

DTMFDetect is used for detecting DTMF tones in a stream of audio.

NAME

DTMFDetect - DTMFDetect is used for detecting DTMF tones in a stream of audio.

SYNOPSIS

#include <audio.h>

Public Member Functions

int putSamples (int16_t buffer[], int count)
int getResult (char *buf, int max)

Protected Member Functions

void goertzelInit (goertzel_state_t *s, tone_detection_descriptor_t *t)
void goertzelUpdate (goertzel_state_t *s, int16_t x[], int samples)
float goertzelResult (goertzel_state_t *s)

Detailed Description

DTMFDetect is used for detecting DTMF tones in a stream of audio.

It currently only supports 8000Hz input.

Author

Generated automatically by Doxygen for ccAudio from the source code.