Loading lib_rend/ivas_objectRenderer_sources.c +1 −9 Original line number Diff line number Diff line Loading @@ -144,16 +144,8 @@ ivas_error TDREND_MIX_SRC_SetGain( const int16_t SrcInd, /* i : Source index */ const float Gain /* i : Gain */ ) { /* Value verification */ if ( !( Gain >= 0.0f && Gain <= 2.0f ) ) { return ( IVAS_ERROR( IVAS_ERR_WRONG_PARAMS, "Gain out of range. Command is ignored!\n" ) ); } else { TDREND_SRC_SPATIAL_SetGain( hBinRendererTd->Sources[SrcInd], Gain ); } return IVAS_ERR_OK; } Loading Loading
lib_rend/ivas_objectRenderer_sources.c +1 −9 Original line number Diff line number Diff line Loading @@ -144,16 +144,8 @@ ivas_error TDREND_MIX_SRC_SetGain( const int16_t SrcInd, /* i : Source index */ const float Gain /* i : Gain */ ) { /* Value verification */ if ( !( Gain >= 0.0f && Gain <= 2.0f ) ) { return ( IVAS_ERROR( IVAS_ERR_WRONG_PARAMS, "Gain out of range. Command is ignored!\n" ) ); } else { TDREND_SRC_SPATIAL_SetGain( hBinRendererTd->Sources[SrcInd], Gain ); } return IVAS_ERR_OK; } Loading