comparison libgsmfr2/dec_wrap.c @ 273:0be493a1e0d6

libgsmfr2: implement gsmfr_0610_decode_frame() wrapper
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Apr 2024 02:51:12 +0000
parents libgsmefr/dec_wrap.c@f80a3202c8ff
children
comparison
equal deleted inserted replaced
272:19db59c9dc07 273:0be493a1e0d6
1 /*
2 * This module contains our gsmfr_0610_decode_frame() function, which is
3 * the primary (most common, most useful) interface to our GSM 06.10 decoder.
4 */
5
6 #include <stdint.h>
7 #include "tw_gsmfr.h"
8
9 void gsmfr_0610_decode_frame(struct gsmfr_0610_state *st, const uint8_t *frame,
10 int16_t *pcm_out)
11 {
12 struct gsmfr_param_frame param;
13
14 gsmfr_unpack_frame(frame, &param);
15 gsmfr_0610_decode_params(st, &param, pcm_out);
16 }