Loading lib_dec/lib_dec.c +6 −10 Original line number Diff line number Diff line Loading @@ -2509,7 +2509,7 @@ ivas_error IVAS_DEC_VoIP_SetScale( return error; } #ifdef VARIABLE_SPEED_DECODING /*---------------------------------------------------------------------* * IVAS_DEC_TSM_SetQuality( ) * Loading @@ -2530,11 +2530,7 @@ ivas_error IVAS_DEC_TSM_SetQuality( const float quality /* i : target TSM quality */ ) { ivas_error error; error = IVAS_ERR_OK; if ( hIvasDec->st_ivas->hDecoderConfig->Opt_tsm == false ) if ( !hIvasDec->st_ivas->hDecoderConfig->Opt_tsm ) { return IVAS_ERR_TSM_NOT_ENABLED; } Loading @@ -2543,9 +2539,9 @@ ivas_error IVAS_DEC_TSM_SetQuality( hIvasDec->tsm_quality = quality; } return error; return IVAS_ERR_OK; } #endif /*---------------------------------------------------------------------* * IVAS_DEC_VoIP_GetSamples( ) Loading lib_dec/lib_dec.h +3 −4 Original line number Diff line number Diff line Loading @@ -266,12 +266,11 @@ ivas_error IVAS_DEC_VoIP_SetScale( const int16_t scale /* i : TSM scale to set */ ); #ifdef VARIABLE_SPEED_DECODING /*! r: error code */ ivas_error IVAS_DEC_TSM_SetQuality( IVAS_DEC_HANDLE hIvasDec, /* i/o: IVAS decoder handle */ const float quality /* i : target TSM quality */ ); #endif /*! r: error code */ ivas_error IVAS_DEC_VoIP_GetSamples( Loading Loading
lib_dec/lib_dec.c +6 −10 Original line number Diff line number Diff line Loading @@ -2509,7 +2509,7 @@ ivas_error IVAS_DEC_VoIP_SetScale( return error; } #ifdef VARIABLE_SPEED_DECODING /*---------------------------------------------------------------------* * IVAS_DEC_TSM_SetQuality( ) * Loading @@ -2530,11 +2530,7 @@ ivas_error IVAS_DEC_TSM_SetQuality( const float quality /* i : target TSM quality */ ) { ivas_error error; error = IVAS_ERR_OK; if ( hIvasDec->st_ivas->hDecoderConfig->Opt_tsm == false ) if ( !hIvasDec->st_ivas->hDecoderConfig->Opt_tsm ) { return IVAS_ERR_TSM_NOT_ENABLED; } Loading @@ -2543,9 +2539,9 @@ ivas_error IVAS_DEC_TSM_SetQuality( hIvasDec->tsm_quality = quality; } return error; return IVAS_ERR_OK; } #endif /*---------------------------------------------------------------------* * IVAS_DEC_VoIP_GetSamples( ) Loading
lib_dec/lib_dec.h +3 −4 Original line number Diff line number Diff line Loading @@ -266,12 +266,11 @@ ivas_error IVAS_DEC_VoIP_SetScale( const int16_t scale /* i : TSM scale to set */ ); #ifdef VARIABLE_SPEED_DECODING /*! r: error code */ ivas_error IVAS_DEC_TSM_SetQuality( IVAS_DEC_HANDLE hIvasDec, /* i/o: IVAS decoder handle */ const float quality /* i : target TSM quality */ ); #endif /*! r: error code */ ivas_error IVAS_DEC_VoIP_GetSamples( Loading