Commit be4217e1 authored by bayers's avatar bayers
Browse files

fix voip BE test

parent 8a6f1626
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2123,7 +2123,7 @@ static ivas_error decodeVoIP(

#ifdef JBM_TSM_ON_TCS
#ifdef DEBUG_JBM_CMD_OPTION
    nFrontendFramesPerIvasFrame = FRAME_SIZE_NS / ( 1000L * arg.frontendFetchSizeMs );
    nFrontendFramesPerIvasFrame = FRAME_SIZE_NS / ( 1000000L * arg.frontendFetchSizeMs );
    systemTimeInc_ms = arg.frontendFetchSizeMs;
#else
    nFrontendFramesPerIvasFrame = FRAME_SIZE_NS / ( 1000L * JBM_FRONTEND_FETCH_FRAMESIZE_MS );
@@ -2190,7 +2190,7 @@ static ivas_error decodeVoIP(
        /* also stop when the input file contains less than two frames, because JBM cannot calculate a delay value and won't start decoding */
#ifdef JBM_TSM_ON_TCS
        /* last clause should make sure that for BE tests we end up with the same number of samples...*/
        if ( nextPacketRcvTime_ms == (uint32_t) ( -1 ) && ( IVAS_DEC_VoIP_IsEmpty( hIvasDec, nOutSamples ) || nFramesFed < 2 || ( nFramesWritten % nFrontendFramesPerIvasFrame == 0 ) ) )
        if ( nextPacketRcvTime_ms == (uint32_t) ( -1 ) && ( IVAS_DEC_VoIP_IsEmpty( hIvasDec, nOutSamples ) || nFramesFed < 2 ) )
#else
        if ( nextPacketRcvTime_ms == (uint32_t) ( -1 ) && ( IVAS_DEC_VoIP_IsEmpty( hIvasDec ) || nFramesFed < 2 ) )
#endif