spandsp 0.0.6
r2_mf_rx_state_s Struct Reference

#include <bell_r2_mf.h>

Public Attributes

tone_report_func_t callback
 
void * callback_data
 
int fwd
 
goertzel_state_t out [6]
 
int current_sample
 
int current_digit
 

Detailed Description

MFC/R2 tone detector descriptor.

Member Data Documentation

◆ callback

tone_report_func_t r2_mf_rx_state_s::callback

Optional callback funcion to deliver received digits.

◆ callback_data

void* r2_mf_rx_state_s::callback_data

An opaque pointer passed to the callback function.

◆ current_digit

int r2_mf_rx_state_s::current_digit

The currently detected digit.

Referenced by r2_mf_rx_get().

◆ current_sample

int r2_mf_rx_state_s::current_sample

The current sample number within a processing block.

◆ fwd

int r2_mf_rx_state_s::fwd

TRUE is we are detecting forward tones. FALSE if we are detecting backward tones

◆ out

goertzel_state_t r2_mf_rx_state_s::out[6]

Tone detector working states


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