Commit dea11c9d authored by sagnowski's avatar sagnowski
Browse files

Whitespace changes to minimise diff wrt original changes

parent 8c7ba780
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2477,6 +2477,7 @@ static ivas_error decodeVoIP(
#endif
    }


#ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE
    int16_t nSamplesFlushed = 0;

@@ -2563,6 +2564,7 @@ static ivas_error decodeVoIP(
    }
#endif


    /*------------------------------------------------------------------------------------------*
     * Add zeros at the end to have equal length of synthesized signals
     *------------------------------------------------------------------------------------------*/
+2 −4
Original line number Diff line number Diff line
@@ -85,8 +85,8 @@ struct IVAS_DEC
#ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE
    Word16 timeScalingDone; /* have we done already one TSM in a 20ms frame? */
#endif
    Word32 *apaExecBuffer_fx; /* Buffer for APA scaling */
    Word16 tsm_quality;       /*Q14*/
    Word32 *apaExecBuffer_fx; /* Buffer for APA scaling */
    PCMDSP_APA_HANDLE hTimeScaler;
    bool needNewFrame;
    bool hasBeenFedFrame;
@@ -2792,6 +2792,7 @@ ivas_error IVAS_DEC_VoIP_GetSamples(
            dbgwrite( &scale, sizeof( uint32_t ), 1, 1, "./res/JBM_scale.dat" );
            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 ) )
            {
@@ -2904,7 +2905,6 @@ ivas_error IVAS_DEC_VoIP_GetSamples(
            move16();
            move16();
#ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE

            update_voip_rendered20ms( hIvasDec, nSamplesToZero );
#endif
        }
@@ -2922,7 +2922,6 @@ ivas_error IVAS_DEC_VoIP_GetSamples(

            nSamplesRendered = add( nSamplesRendered, nSamplesRendered_loop );
#ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE

            update_voip_rendered20ms( hIvasDec, nSamplesRendered_loop );
#endif
        }
@@ -2932,7 +2931,6 @@ ivas_error IVAS_DEC_VoIP_GetSamples(
}

#ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE

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