问题点,按键有声音,播放音乐只有几秒钟
修改点common/V3/aud_drv/AudioALSAPlaybackHandlerNormal.cpp
ommon/V3/aud_drv/AudioALSAPlaybackHandlerNormal.cpp
5 status_t AudioALSAPlaybackHandlerNormal::open() {
-
- String8 pcmPath = isIsolatedDeepBuffer(mStreamAttributeSource->mAudioOutputFlags) ?
- keypcmDL1DATA2PLayback : keypcmI2S0Dl1Playback;
+ #ifdef USING_HIFI
+ String8 pcmPath = keypcmI2S0Dl1Playback;
+ #else
+ String8 pcmPath = isIsolatedDeepBuffer(mStreamAttributeSource->mAudioOutputFlags) ?
+ keypcmDL1DATA2PLayback : keypcmI2S0Dl1Playback;
+ #endif