![](https://csdnimg.cn/release/download_crawler_static/3585316/bg7.jpg)
7
在 CTA
CTA
CTA
CTA 音频调试曲线时 , 更改的也只是其中的第一组的滤波器 , 即以下的 2G/3G
2G/3G
2G/3G
2G/3G
Normal
Normal
Normal
Normal mode
mode
mode
mode 听筒的滤波器。
{
{
{
{ /*
/*
/*
/* 0:
0:
0:
0: Output
Output
Output
Output FIR
FIR
FIR
FIR coefficients
coefficients
coefficients
coefficients for
for
for
for 2G/3G
2G/3G
2G/3G
2G/3G Normal
Normal
Normal
Normal mode
mode
mode
mode */
*/
*/
*/
32767,
32767,
32767,
32767, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0,
0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0,
0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0,
0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0,
0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0,
0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0,
0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0,
0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0,
0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0,
0,
0,
0, 0
0
0
0
},
},
},
},
( 3 )外部功放开关时序控制:
const unsigned short Ext_op_on_delay = 0; /* count in frames, 1 frame = 4.615ms */
const unsigned short Ext_op_off_delay = 0; /* count in frames, 1 frame = 4.615ms */
Ext_op_on_delay 用来打开延时 ( 相对基带的音频前端 DAC 和 Buffer ) , 他用来消除当
打开外面的 speaker 可能带来的 pop noise 。默认是 0 。
在 06A 以后的版本中 , 他是基于 10 ms 来计数的 。 例如 : Ext_op_on_delay = 5 , 则表
示有 50ms 的开启延时。
Ext_op_off_delay 理论上同 Ext_op_on_delay 。只不过是指关闭。
( 4 ) Digital Gain Setting 语音的数字增益:
const unsigned short DG_DL_Speech = 0x1000;
const unsigned short DG_Microphone = 0x1400;
const unsigned short DG_DAF = 32767;
const unsigned short DG_MIDI = 304;
const unsigned short DG_IMY = 3072;
a 、 DG_DL_Speech