/*************************************************************************
** Function name:float read_delay_control(uint32_t controlAddress)
** Descriptions:读音频延时值
** input parameters:int controlAddress增益控件参数地址
** Returned value:float
***********************************************************************/
uint32_t read_delay_control(uint32_t controlAddress)
{
return Adi_DSP_ReadValue(controlAddress);
}
/*****************************************************************************
** Function name: write_delay_control(uint32_t controlAddress,float gain)
** Descriptions:写音频延时值
** input parameters:controlAddress增益控件参数地址,delay值
** Returned value:void
*********************************************************************************/
void write_delay_control(uint32_t controlAddress,uint32_t delay)
{
Adi_DSP_WriteValue(controlAddress,&delay,1);
}
以上参考来源:https://wiki.analog.com/resources/tools-software/sigmastudio/toolbox/BasicDSP/Delay