summaryrefslogtreecommitdiff
path: root/audio_codec/libamr/dec_if.h (plain)
blob: b914218180bb6d1b49299ad6fb28a367158c989c
1/*
2 *===================================================================
3 * 3GPP AMR Wideband Floating-point Speech Codec
4 *===================================================================
5 */
6#ifndef DEC_IF_H
7#define DEC_IF_H
8
9#include "typedef.h"
10
11#define NB_SERIAL_MAX 61 /* max serial size */
12#define L_FRAME16k 320 /* Frame size at 16kHz */
13
14#define _good_frame 0
15#define _bad_frame 1
16#define _lost_frame 2
17#define _no_frame 3
18
19void D_IF_decode(void *st, UWord8 *bits, Word16 *synth, Word32 bfi);
20void * D_IF_init(void);
21void D_IF_exit(void *state);
22
23#endif
24