view mgw/dtmf_defs.h @ 264:cdc807117841

*/Makefile: change INSTBIN to /opt/themwi/bin (was /usr/local/bin)
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 05 Nov 2023 16:07:14 -0800
parents a6eb2de277f6
children
line wrap: on
line source

/*
 * This header file holds various internal definitions for DTMF generation,
 * including DTMF_MAX_FRAMES limit.
 */

#define	DTMF_MAX_FRAMES		60	/* 1200 ms */

struct dtmf_desc {
	int	digit;
	float	freq_low;
	float	freq_high;
	int16_t	*samples;
};