view libgsmfr2/silence_frame.c @ 423:cf90077b753c

twamr-tseq-enc: treat dribble input as non-fatal 3GPP VAD2 test sequences dt22.inp and dt23.inp have incomplete frames at the end, hence we need to ignore that dribble in a non-fatal manner in order to pass all tests.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 07 May 2024 07:20:29 +0000
parents a33edf624061
children
line wrap: on
line source

/*
 * 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 <stdint.h>
#include "tw_gsmfr.h"

const uint8_t gsmfr_preproc_silence_frame[GSMFR_RTP_FRAME_LEN] = {
	0xDA, 0xA7, 0xAA, 0xA5, 0x1A,
	0x50, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B,
	0x50, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B,
	0x50, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B,
	0x50, 0x20, 0x38, 0xE4, 0x6D, 0xB9, 0x1B,
};