diff libgsmfrp/silence_frame.c @ 1:6780b23654bd

libgsmfrp: starting with the silence frame
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 19 Nov 2022 04:04:01 +0000
parents
children 61cb83bd11ec
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libgsmfrp/silence_frame.c	Sat Nov 19 04:04:01 2022 +0000
@@ -0,0 +1,15 @@
+/*
+ * Table 1 in section 6 of 3GPP TS 46.011 specifies a silence frame
+ * in the form of GSM 06.10 parameters; here we implement this exact
+ * silence frame in libgsm encoding, which is also RTP encoding.
+ */
+
+#include "gsm_fr_preproc.h"
+
+const gsm_frame gsmfr_preproc_silence_frame = {
+	0xDA, 0xA7, 0xAA, 0xA5, 0x1A,
+	0x00, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B,
+	0x00, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B,
+	0x00, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B,
+	0x00, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B,
+};