#include <stdlib.h>#include <string.h>#include <stdio.h>#include <fcntl.h>#include <ctype.h>#include <time.h>#include <inttypes.h>#include "floating_fudge.h"#include "spandsp/telephony.h"#include "spandsp/complex.h"#include "spandsp/dds.h"#include "spandsp/tone_generate.h"#include "spandsp/super_tone_tx.h"Functions | |
| super_tone_tx_step_t * | super_tone_tx_make_step (super_tone_tx_step_t *s, float f1, float l1, float f2, float l2, int length, int cycles) | 
| void | super_tone_tx_free (super_tone_tx_step_t *s) | 
| super_tone_tx_state_t * | super_tone_tx_init (super_tone_tx_state_t *s, super_tone_tx_step_t *tree) | 
| Initialise a supervisory tone generator.   | |
| int | super_tone_tx (super_tone_tx_state_t *s, int16_t amp[], int max_samples) | 
| Generate a block of audio samples for a supervisory tone pattern.   | |
| int super_tone_tx | ( | super_tone_tx_state_t * | s, | |
| int16_t | amp[], | |||
| int | max_samples | |||
| ) | 
Generate a block of audio samples for a supervisory tone pattern.
Generate a block of audio samples for a supervisory tone pattern.
| s | The supervisory tone context. | |
| amp | The audio sample buffer. | |
| max_samples | The maximum number of samples to be generated. | 
References dds_modf().
| super_tone_tx_state_t* super_tone_tx_init | ( | super_tone_tx_state_t * | s, | |
| super_tone_tx_step_t * | tree | |||
| ) | 
Initialise a supervisory tone generator.
Initialise a supervisory tone generator.
| s | The supervisory tone generator context. | |
| tree | The supervisory tone tree to be generated. | 
 1.5.6