summaryrefslogtreecommitdiff
path: root/audio_codec/libraac/raac_decode.h (plain)
blob: 1816f090ad517036a3423e505ad758db8e16bee3
1#ifndef _AUDIO_CODEC_RAAC_H
2#define _AUDIO_CODEC_RAAC_H
3
4#include "include/rm_parse.h"
5#include "include/ra_depack.h"
6#include "include/ra_decode.h"
7
8
9typedef struct {
10 ra_decode* pDecode;
11 ra_format_info* pRaInfo;
12 BYTE* pOutBuf;
13 UINT32 ulOutBufSize;
14 UINT32 ulTotalSample;
15 UINT32 ulTotalSamplePlayed;
16 UINT32 ulStatus;
17 UINT32 input_buffer_size;
18 BYTE* input_buf;
19 UINT32 decoded_size;
20
21} raac_decoder_info_t;
22
23typedef struct {
24 BYTE *buf;
25 int buf_len;
26 int buf_max;
27 int cousume;
28 int all_consume;
29} cook_IObuf;
30
31#define RADEC_IDLE 0
32#define RADEC_INIT 1
33#define RADEC_PLAY 2
34#define RADEC_PAUSE 3
35
36#define USE_C_DECODER
37#endif
38