view mgw/dtmf_defs.h @ 176:f5c4f9a764be

osmo-bts-rtp-bfi.patch: updated version This version of the osmo-bts patch sets the TAF bit correctly in generated RTP BFI packets, correctly generates RTP BFI in the case of FACCH stealing on sysmoBTS, and removes one EFR-specific bogon from sysmoBTS code.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 17 Feb 2023 18:27:03 -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;
};