view include/pstn_defs.h @ 40:d73b6ec27ae6

twjit: allow starting fill level to be 1 In most use cases, the smallest useful setting for starting fill level is 2. However, our job is to provide mechanism rather than policy, and the theoretical minimum is 1 - so let's support the latter configuration.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Dec 2024 20:07:01 +0000
parents e05dde97739d
children
line wrap: on
line source

/* misc PSTN definitions */

#pragma once

#define	PSTN_CODEC_PCMU		0
#define	PSTN_CODEC_PCMA		8

#define	FRAME_20MS	160	/* samples per RTP packet */