diff include/pstn_defs.h @ 0:9e7e9ba22e42

starting project with public header files
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 27 May 2024 09:10:27 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/pstn_defs.h	Mon May 27 09:10:27 2024 +0000
@@ -0,0 +1,8 @@
+/* misc PSTN definitions */
+
+#pragma once
+
+#define	PSTN_CODEC_PCMU		0
+#define	PSTN_CODEC_PCMA		8
+
+#define	FRAME_20MS	160	/* samples per RTP packet */