拓冰建站拓冰建站
首页 / 资讯中心 / 正文

杰理之音源音量变化较大的情况下,低频增益变化不大【篇】

int mix_out_wdrc_get_filter_info(void *drc, struct audio_drc_filter_info *info){//多带mix_out_wdrc_p.nband 2; //max31全带 2两段 3三段//WDRCmix_out_wdrc_p.type 3; //0:没有使能限幅和压缩器1:限幅器 2:压缩器 3:wdrc(wdrc不支持3带)mix_out_wdrc_p.low_freq 200; //中低频分频点mix_out_wdrc_p.order 2; //分频器阶数, 2或者4//低频参数 mix_out_wdrc_p._p.wdrc[0].attacktime 100; mix_out_wdrc_p._p.wdrc[0].releasetime 200; mix_out_wdrc_p._p.wdrc[0].inputgain 0; mix_out_wdrc_p._p.wdrc[0].outputgain 0; mix_out_wdrc_p._p.wdrc[0].threshold_num 4; //点数也就是限幅器、压缩器的总数 mix_out_wdrc_p._p.wdrc[0].rms_time 25; //RMS时间 mix_out_wdrc_p._p.wdrc[0].algorithm 0; //detect mode mix_out_wdrc_p._p.wdrc[0].mode 0; //第1个点[0, 0] mix_out_wdrc_p._p.wdrc[0].threshold[0].in_threshold 0; mix_out_wdrc_p._p.wdrc[0].threshold[0].out_threshold 0; //第2个点[40, 50] mix_out_wdrc_p._p.wdrc[0].threshold[1].in_threshold 40; mix_out_wdrc_p._p.wdrc[0].threshold[1].out_threshold 40 10; //第3个点[65, 85] mix_out_wdrc_p._p.wdrc[0].threshold[2].in_threshold 65; mix_out_wdrc_p._p.wdrc[0].threshold[2].out_threshold 65 20; //第4个点[90, 90] mix_out_wdrc_p._p.wdrc[0].threshold[3].in_threshold 90; mix_out_wdrc_p._p.wdrc[0].threshold[3].out_threshold 90 0; //高频参数 mix_out_wdrc_p._p.wdrc[1].attacktime 100; mix_out_wdrc_p._p.wdrc[1].releasetime 200; mix_out_wdrc_p._p.wdrc[1].inputgain 0; mix_out_wdrc_p._p.wdrc[1].outputgain 0; mix_out_wdrc_p._p.wdrc[1].threshold_num 2; mix_out_wdrc_p._p.wdrc[1].rms_time 25; mix_out_wdrc_p._p.wdrc[1].algorithm 0; mix_out_wdrc_p._p.wdrc[1].mode 0; //第1个点[0, 0] mix_out_wdrc_p._p.wdrc[1].threshold[0].in_threshold 0; mix_out_wdrc_p._p.wdrc[1].threshold[0].out_threshold 0; //第2个点[90, 90] mix_out_wdrc_p._p.wdrc[1].threshold[1].in_threshold 90; mix_out_wdrc_p._p.wdrc[1].threshold[1].out_threshold 90; info-R_pch info-pch mix_out_wdrc_p; return 0;}
分享:

看完干货,该让你的企业上线了

免费需求沟通 · 48 小时内出具建站方案 · 河南本地可上门