Commit 267a755e authored by Jan Kiene's avatar Jan Kiene
Browse files

fix typo

parent 0be4d091
Loading
Loading
Loading
Loading
Loading
+209 −206
Original line number Diff line number Diff line
@@ -1062,10 +1062,12 @@ ivas_error IVAS_DEC_GetSamples(
    {
        /* check if we need to run the setup function */
        test();
        IF( !hIvasDec->isInitialized || hIvasDec->hasBeenFedFrame ){
        IF( !hIvasDec->isInitialized || hIvasDec->hasBeenFedFrame )
        {
            /* setup */

            IF( NE_32( ( error = IVAS_DEC_Setup( hIvasDec, &l_ts, &nTransportChannels, &nOutChannels, &nSamplesRendered_loop, pcmBuf + imult3216( nSamplesRendered, nOutChannels ) ) ), IVAS_ERR_OK ) ){
            IF( NE_32( ( error = IVAS_DEC_Setup( hIvasDec, &l_ts, &nTransportChannels, &nOutChannels, &nSamplesRendered_loop, pcmBuf + imult3216( nSamplesRendered, nOutChannels ) ) ), IVAS_ERR_OK ) )
            {
                return error;
            }
        }
@@ -2789,7 +2791,8 @@ ivas_error IVAS_DEC_VoIP_GetSamples(
            dbgwrite( &maxScaling, sizeof( uint32_t ), 1, 1, "./res/JBM_maxScale.dat" );
#endif
            /* avoid time scaling multiple times in one sound card slot */
            IF( NE_64( scale, 100U ) ){
            IF( NE_64( scale, 100U ) )
            {
#ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE
                IF( hIvasDec->timeScalingDone )
#else
@@ -2926,7 +2929,7 @@ ELSE
    return IVAS_ERR_OK;
}

// #ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE
#ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE

/*---------------------------------------------------------------------*
 * update_voip_rendered20ms( )