annotate ater8/out_frame.h @ 51:db39e8855f3d

ater: implement play-d144
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 25 Sep 2024 05:53:38 +0000
parents ff94d7fc5891
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
42
ff94d7fc5891 new program itt-ater-8
Mychaela Falconia <falcon@freecalypso.org>
parents: 21
diff changeset
3 * fills struct osmo_trau_frame based on a 22-word decoder input
ff94d7fc5891 new program itt-ater-8
Mychaela Falconia <falcon@freecalypso.org>
parents: 21
diff changeset
4 * record we read from an ETSI *.dec file.
21
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
42
ff94d7fc5891 new program itt-ater-8
Mychaela Falconia <falcon@freecalypso.org>
parents: 21
diff changeset
14 void trau_frame_from_record(const int16_t *rec, struct osmo_trau_frame *fr,
ff94d7fc5891 new program itt-ater-8
Mychaela Falconia <falcon@freecalypso.org>
parents: 21
diff changeset
15 bool *has_taf);