mt6735 如何调整拨号盘(DTMF)的音频参数
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
如何调整拨号盘(DTMF)的音频参数
[SOLUTION]
拨号盘(DTMF)的音频参数比较特殊,它是在:
\mediatek\platform\common\hardware\audio\AudiomtkPolicyManager.cpp中的:
static unsigned char audiovolume_dtmf[NUM_OF_VOL_MODE][AUDIO_MAX_VOLUME_STEP]=
{
{152,168,184,200,216,232,255,0,0,0,0,0,0,0,0}, //声音仅从听筒输出时调整这里的参数0-7
{152,168,184,200,216,232,255,0,0,0,0,0,0,0,0}, //声音仅从耳机输出时调整这里的参数0-7
{160,184,196,208,220,232,255,0,0,0,0,0,0,0,0}, //声音仅从喇叭输出时调整这里的参数0-7
{152,168,184,200,216,232,255,0,0,0,0,0,0,0,0} //其他case调整这里的参数0-7
};
调整audiovolume_dtmf的值会同时影响DTMF和SYSTEM的声音的大小。
如何调整拨号盘(DTMF)的音频参数
[SOLUTION]
拨号盘(DTMF)的音频参数比较特殊,它是在:
\mediatek\platform\common\hardware\audio\AudiomtkPolicyManager.cpp中的:
static unsigned char audiovolume_dtmf[NUM_OF_VOL_MODE][AUDIO_MAX_VOLUME_STEP]=
{
{152,168,184,200,216,232,255,0,0,0,0,0,0,0,0}, //声音仅从听筒输出时调整这里的参数0-7
{152,168,184,200,216,232,255,0,0,0,0,0,0,0,0}, //声音仅从耳机输出时调整这里的参数0-7
{160,184,196,208,220,232,255,0,0,0,0,0,0,0,0}, //声音仅从喇叭输出时调整这里的参数0-7
{152,168,184,200,216,232,255,0,0,0,0,0,0,0,0} //其他case调整这里的参数0-7
};
调整audiovolume_dtmf的值会同时影响DTMF和SYSTEM的声音的大小。