view mgw/dtmf_defs.h @ 187:258932879f8b

sip-manual-out: rework for internal RTP handling, using themwi-rtp-mgr
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 16 Mar 2023 23:46:17 -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;
};