view mgw/dtmf_defs.h @ 189:1266e024de6c

sip-manual-out: implement hunt for IS_Header in Rx RTP
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 17 Mar 2023 09:54:22 -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;
};