Struct GX_HAL_AIN_PCMW_CFG

  • Defined in file__output_copyinclude_src_include_ain_gx_hal_ain_v110.h

Struct Documentation

struct GX_HAL_AIN_PCMW_CFG

PCM 录制相关配置

Public Members

GX_HAL_AIN_PCMW_BIT_SIZE bit_size

存储位宽,可配置项为 GX_HAL_AIN_PCMW_BIT_SIZE

GX_HAL_AIN_PCMW_FIFO_THRESHOLD fifo_threshold

单次写入内存门限,可配置项为 GX_HAL_AIN_PCMW_FIFO_THRESHOLD

unsigned int frame_pcm_num

中断上报pcm样点数

unsigned int buffer_size

单个buffer的大小

void *buffer_saddr[6]

每个buffer的地址地址(物理地址)

GX_HAL_AIN_PCMW_CB cb_func

PCM写完成中断回调函数,函数类型 GX_HAL_AIN_PCMW_CB

void *cb_data

PCM写完成中断回调私有数据