annotate ater/out_frame.h @ 40:e1eabf554a75

libhr: small subset of WIP libgsmhr1
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 30 Aug 2024 16:41:56 +0000
parents 2ee910aa03c3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * This header file defines the interface to the function that
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 * fills struct osmo_trau_frame based on a 34-byte binary record
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 * we read from our ad hoc TRAU testing file format.
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 */
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 #pragma once
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 #include <stdint.h>
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 #include <stdbool.h>
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 #include <osmocom/trau/trau_frame.h>
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 void trau_frame_from_record(const uint8_t *rec, bool is_efr,
2ee910aa03c3 ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 struct osmo_trau_frame *fr);