#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <fcntl.h>
#include <ctype.h>
#include <time.h>
#include <inttypes.h>
#include "spandsp/telephony.h"
#include "spandsp/tone_detect.h"
#include "spandsp/tone_generate.h"
#include "spandsp/super_tone_rx.h"
Defines | |
#define | THRESHOLD 8.0e7 |
Functions | |
int | super_tone_rx_add_tone (super_tone_rx_descriptor_t *desc) |
int | super_tone_rx_add_element (super_tone_rx_descriptor_t *desc, int tone, int f1, int f2, int min, int max) |
super_tone_rx_descriptor_t * | super_tone_rx_make_descriptor (super_tone_rx_descriptor_t *desc) |
int | super_tone_rx_free_descriptor (super_tone_rx_descriptor_t *desc) |
void | super_tone_rx_segment_callback (super_tone_rx_state_t *s, void(*callback)(void *data, int f1, int f2, int duration)) |
super_tone_rx_state_t * | super_tone_rx_init (super_tone_rx_state_t *s, super_tone_rx_descriptor_t *desc, tone_report_func_t callback, void *user_data) |
int | super_tone_rx_free (super_tone_rx_state_t *s) |
int | super_tone_rx (super_tone_rx_state_t *s, const int16_t amp[], int samples) |
Apply supervisory tone detection processing to a block of audio samples. |
|
Apply supervisory tone detection processing to a block of audio samples. Apply supervisory tone detection processing to a block of audio samples.
|
|
Add a new tone pattern element to a tone pattern in a supervisory tone detector.
|
|
Add a new tone pattern to a supervisory tone detector set.
|
|
Release a supervisory tone detector.
|
|
Free a supervisory tone detector descriptor.
|
|
Initialise a supervisory tone detector.
|
|
Create a new supervisory tone detector descriptor.
|
|
Define a callback routine to be called each time a tone pattern element is complete. This is mostly used when analysing a tone.
|