545 files changed, 230976 insertions, 0 deletions
diff --git a/audio_codec/libraac/raac_decode.h b/audio_codec/libraac/raac_decode.h new file mode 100644 index 0000000..1816f09 --- a/dev/null +++ b/audio_codec/libraac/raac_decode.h @@ -0,0 +1,37 @@ +#ifndef _AUDIO_CODEC_RAAC_H +#define _AUDIO_CODEC_RAAC_H + +#include "include/rm_parse.h" +#include "include/ra_depack.h" +#include "include/ra_decode.h" + + +typedef struct { + ra_decode* pDecode; + ra_format_info* pRaInfo; + BYTE* pOutBuf; + UINT32 ulOutBufSize; + UINT32 ulTotalSample; + UINT32 ulTotalSamplePlayed; + UINT32 ulStatus; + UINT32 input_buffer_size; + BYTE* input_buf; + UINT32 decoded_size; + +} raac_decoder_info_t; + +typedef struct { + BYTE *buf; + int buf_len; + int buf_max; + int cousume; + int all_consume; +} cook_IObuf; + +#define RADEC_IDLE 0 +#define RADEC_INIT 1 +#define RADEC_PLAY 2 +#define RADEC_PAUSE 3 + +#define USE_C_DECODER +#endif |