Loading media/libstagefright/codecs/amrnb/dec/SoftAMR.cpp +8 −1 Original line number Diff line number Diff line Loading @@ -435,7 +435,14 @@ void SoftAMR::onQueueFilled(OMX_U32 /* portIndex */) { } } void SoftAMR::onPortFlushCompleted(OMX_U32 /* portIndex */) { void SoftAMR::onPortFlushCompleted(OMX_U32 portIndex) { ALOGE("onPortFlushCompleted portindex %d, resetting frame ",portIndex); if (portIndex == 0) { if(mMode == MODE_NARROW) Speech_Decode_Frame_reset(mState); else pvDecoder_AmrWb_Reset(mState, 0); } } void SoftAMR::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { Loading Loading
media/libstagefright/codecs/amrnb/dec/SoftAMR.cpp +8 −1 Original line number Diff line number Diff line Loading @@ -435,7 +435,14 @@ void SoftAMR::onQueueFilled(OMX_U32 /* portIndex */) { } } void SoftAMR::onPortFlushCompleted(OMX_U32 /* portIndex */) { void SoftAMR::onPortFlushCompleted(OMX_U32 portIndex) { ALOGE("onPortFlushCompleted portindex %d, resetting frame ",portIndex); if (portIndex == 0) { if(mMode == MODE_NARROW) Speech_Decode_Frame_reset(mState); else pvDecoder_AmrWb_Reset(mState, 0); } } void SoftAMR::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { Loading