CI130X SDK API手册  2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
结构体 | 类型定义 | 枚举 | 函数
flacdecoder.h 文件参考
#include "bitstreamf.h"

浏览源代码.

结构体

struct  FLACContext
 

类型定义

typedef struct FLACContext FLACContext
 

枚举

enum  decorrelation_type {
  INDEPENDENT,
  LEFT_SIDE,
  RIGHT_SIDE,
  MID_SIDE
}
 

函数

int flac_decode_frame24 (FLACContext *s, uint8_t *buf, int buf_size, int32_t *wavbuf)
 
int flac_decode_frame16 (FLACContext *s, uint8_t *buf, int buf_size, int16_t *wavbuf)
 
int flac_seek_frame (uint8_t *buf, uint32_t size, FLACContext *fc)
 

结构体说明

◆ FLACContext

struct FLACContext
成员变量
int bitstream_index
int bitstream_size
int blocksize
int bps
int channels
int curr_bps
int * decoded0
int * decoded1
enum decorrelation_type decorrelation
int framesize
GetBitContext gb
int max_blocksize
int max_framesize
int min_blocksize
int min_framesize
int sample_skip
unsigned long samplenumber
int samplerate
int seekpoints
int seektable
unsigned long totalsamples

类型定义说明

◆ FLACContext

typedef struct FLACContext FLACContext

枚举类型说明

◆ decorrelation_type

枚举值
INDEPENDENT 
LEFT_SIDE 
RIGHT_SIDE 
MID_SIDE 

函数说明

◆ flac_decode_frame16()

int flac_decode_frame16 ( FLACContext s,
uint8_t *  buf,
int  buf_size,
int16_t *  wavbuf 
)

◆ flac_decode_frame24()

int flac_decode_frame24 ( FLACContext s,
uint8_t *  buf,
int  buf_size,
int32_t *  wavbuf 
)

◆ flac_seek_frame()

int flac_seek_frame ( uint8_t *  buf,
uint32_t  size,
FLACContext fc 
)