/*********************************************************************************************************
** Function name:uint32_t gain_2_coefficient(float gain)
** Descriptions:增益转音量增益控件音频系数
** input parameters:float gain为增益值
** Returned value:uint32_t
*********************************************************************************************************/
uint32_t gain_2_coefficient(float gain)
{
uint32_t coefficient=0;
float temp = (float)pow(10, gain/20);
flt_to_int(temp, &coefficient);
return coefficient;
}
/*********************************************************************************************************
** Function name:coefficient_2_gain(uint32_t coefficient)
** Descriptions:音频系数转增益
** input parameters:uint32_t coefficient为音频系数
** Re