comparison libgsmfr2/silence_frame.c @ 256:a33edf624061

libgsmfr2: start with API definition and port of libgsmfrp code
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 12 Apr 2024 20:49:53 +0000
parents libgsmfrp/silence_frame.c@61cb83bd11ec
children
comparison
equal deleted inserted replaced
255:07f936338de1 256:a33edf624061
1 /*
2 * Table 1 in section 6 of 3GPP TS 46.011 specifies a silence frame
3 * in the form of GSM 06.10 parameters; here we implement this exact
4 * silence frame in libgsm encoding, which is also RTP encoding.
5 */
6
7 #include <stdint.h>
8 #include "tw_gsmfr.h"
9
10 const uint8_t gsmfr_preproc_silence_frame[GSMFR_RTP_FRAME_LEN] = {
11 0xDA, 0xA7, 0xAA, 0xA5, 0x1A,
12 0x50, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B,
13 0x50, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B,
14 0x50, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B,
15 0x50, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B,
16 };