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