view libgsmhr1/rxfe_create.c @ 586:b21ea4ab586d

libgsmhr1: update for TW-TS-002 version 1.2.0 The component of libgsmhr1 being changed is RTP input functions; the change is accepting FT=1 (invalid SID) frames both with and without payload data bits.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 10 Mar 2025 02:03:31 +0000 (7 months ago)
parents 9cda792c0dd7
children
line wrap: on
line source
/*
 * Here we implement gsmhr_rxfe_create() function: allocation of a
 * free-standing RxFE state structure, used for our TFO transform.
 */

#include <stdint.h>
#include <stdlib.h>
#include "tw_gsmhr.h"
#include "typedefs.h"
#include "namespace.h"
#include "rxfe.h"

struct gsmhr_rxfe_state *gsmhr_rxfe_create(void)
{
	struct gsmhr_rxfe_state *st;

	st = malloc(sizeof(struct gsmhr_rxfe_state));
	if (st)
		gsmhr_rxfe_reset(st);
	return st;
}