现象是按键有声音,播放只能维持几秒钟,需igaidian.C
ommon/V3/aud_drv/AudioALSAPlaybackHandlerNormal.cpp
- String8 pcmPath = isIsolatedDeepBuffer(mStreamAttributeSource->mAudioOutputFlags) ?
- keypcmDL1DATA2PLayback : keypcmI2S0Dl1Playback;
+ #ifdef USING_HIFI
+ String8 pcmPath = keypcmI2S0Dl1Playback;
+ #else
+ String8 pcmPath = isIsolatedDeepBuffer(mStreamAttributeSource->mAudioOutputFlags) ?
+ keypcmDL1DATA2PLayback : keypcmI2S0Dl1Playback;
+ #endif