FreeCalypso > hg > themwi-rtp-lib
view include/pstn_defs.h @ 42:334d883b96ba
twrtp_jibuf_create: make config argument const
While this config structure is not a constant in the mathematical
sense of the term (it is expected that vty config changes may happen
while twjit instance is alive), twjit functions never write to it,
only read, hence it is 'const' in the not-quite-mathematical C-standard
sense.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 20 Dec 2024 22:47:20 +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 */