Commit 5281dd3b authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

retain assert for 48kHz sampling rate

parent 845fb82e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2512,7 +2512,9 @@ static ivas_error updateSbaPanGains(
                {
                    if ( hRendCfg->split_rend_config.rendererSelection == ISAR_SPLIT_REND_RENDERER_SELECTION_FASTCONV )
                    {
#ifndef FIX_1113_EXTREND_ISAR
#ifdef FIX_1113_EXTREND_ISAR
                        assert( *rendCtx.pOutSampleRate == 48000 && "split binaural fast conv mode is currently supported with 48k sampling rate only" );
#else
                        assert( inConfig == IVAS_AUDIO_CONFIG_HOA3 && ( *rendCtx.pOutSampleRate == 48000 ) && "split binaural fast conv mode is currently supported with HOA3 input and 48k sampling rate only" );
#endif
                        if ( ( error = ivas_rend_openCldfbRend( &inputSba->cldfbRendWrapper, inConfig, outConfig, &rendCtx.pSplitRendWrapper->multiBinPoseData, *rendCtx.pOutSampleRate ) ) != IVAS_ERR_OK )