1.修改AudioMTKStreamOut.cpp ssize_t AudioMTKStreamOut::write(const void *buffer, size_t bytes) { case android_audio_legacy::AudioSystem::MODE_IN_CALL: case android_audio_legacy::AudioSystem::MODE_IN_CALL_2: 修改pBGSPlayer-Open(pSpeechDriver, 0x0, 0xFF); 為pBGSPlayer-Open(pSpeechDriver, 0xFF, 0xFF); 2.修改InCallScreen.java a.添加: import android.media.ToneGenerator; b. ...
[ 查看全文 ]