view ater8/out_frame.h @ 52:626180a15857 default tip

ater play-d144: emit E-data frames manually, osmo_trau_frame_encode() is currently broken for this frame type
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 25 Sep 2024 06:40:43 +0000
parents ff94d7fc5891
children
line wrap: on
line source

/*
 * This header file defines the interface to the function that
 * fills struct osmo_trau_frame based on a 22-word decoder input
 * record we read from an ETSI *.dec file.
 */

#pragma once

#include <stdint.h>
#include <stdbool.h>

#include <osmocom/trau/trau_frame.h>

void trau_frame_from_record(const int16_t *rec, struct osmo_trau_frame *fr,
			    bool *has_taf);