annotate include/pstn_defs.h @ 43:8cdfef36d9db default tip

twrtp_endp_create: make config argument const This argument is passed through to twrtp_jibuf_create(). We made it const in the latter function, now do the same with the wrapper.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Dec 2024 23:01:06 +0000
parents e05dde97739d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
e05dde97739d include: legacy header files from themwi-rtp-mgr
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /* misc PSTN definitions */
e05dde97739d include: legacy header files from themwi-rtp-mgr
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
e05dde97739d include: legacy header files from themwi-rtp-mgr
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 #pragma once
e05dde97739d include: legacy header files from themwi-rtp-mgr
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
e05dde97739d include: legacy header files from themwi-rtp-mgr
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 #define PSTN_CODEC_PCMU 0
e05dde97739d include: legacy header files from themwi-rtp-mgr
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 #define PSTN_CODEC_PCMA 8
e05dde97739d include: legacy header files from themwi-rtp-mgr
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
e05dde97739d include: legacy header files from themwi-rtp-mgr
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 #define FRAME_20MS 160 /* samples per RTP packet */