Loading apps/decoder.c +2 −0 Original line number Diff line number Diff line Loading @@ -2477,6 +2477,7 @@ static ivas_error decodeVoIP( #endif } #ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE int16_t nSamplesFlushed = 0; Loading Loading @@ -2563,6 +2564,7 @@ static ivas_error decodeVoIP( } #endif /*------------------------------------------------------------------------------------------* * Add zeros at the end to have equal length of synthesized signals *------------------------------------------------------------------------------------------*/ Loading lib_dec/lib_dec_fx.c +2 −4 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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 ) ) { Loading Loading @@ -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 } Loading @@ -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 } Loading @@ -2932,7 +2931,6 @@ ivas_error IVAS_DEC_VoIP_GetSamples( } #ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE /*---------------------------------------------------------------------* * update_voip_rendered20ms( ) * Loading Loading
apps/decoder.c +2 −0 Original line number Diff line number Diff line Loading @@ -2477,6 +2477,7 @@ static ivas_error decodeVoIP( #endif } #ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE int16_t nSamplesFlushed = 0; Loading Loading @@ -2563,6 +2564,7 @@ static ivas_error decodeVoIP( } #endif /*------------------------------------------------------------------------------------------* * Add zeros at the end to have equal length of synthesized signals *------------------------------------------------------------------------------------------*/ Loading
lib_dec/lib_dec_fx.c +2 −4 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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 ) ) { Loading Loading @@ -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 } Loading @@ -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 } Loading @@ -2932,7 +2931,6 @@ ivas_error IVAS_DEC_VoIP_GetSamples( } #ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE /*---------------------------------------------------------------------* * update_voip_rendered20ms( ) * Loading