Commit 5b05995b authored by PLAINSI's avatar PLAINSI
Browse files

Remove check for SBA on JBM path

parent e15ad001
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -1352,16 +1352,12 @@ ivas_error ivas_jbm_dec_render(
        {
            ivas_mc_paramupmix_dec_render( st_ivas, nSamplesAskedLocal, nSamplesRendered, nSamplesAvailableNext, p_tc, p_output );

#ifdef NONBE_FIX_836_PARAMUPMIX_HEADROT
            if ( st_ivas->transport_config != st_ivas->intern_config &&
                 ( st_ivas->intern_config == IVAS_AUDIO_CONFIG_FOA || st_ivas->intern_config == IVAS_AUDIO_CONFIG_HOA2 || st_ivas->intern_config == IVAS_AUDIO_CONFIG_HOA3 ) &&
                 ( output_config == IVAS_AUDIO_CONFIG_FOA || output_config == IVAS_AUDIO_CONFIG_HOA2 || output_config == IVAS_AUDIO_CONFIG_HOA3 ) )
#else
#ifndef NONBE_FIX_836_PARAMUPMIX_HEADROT
            if ( st_ivas->transport_config != st_ivas->intern_config && ( st_ivas->intern_config == IVAS_AUDIO_CONFIG_FOA || st_ivas->intern_config == IVAS_AUDIO_CONFIG_HOA2 || st_ivas->intern_config == IVAS_AUDIO_CONFIG_HOA3 ) )
#endif
            {
                ivas_mc2sba( st_ivas->hTransSetup, p_output, p_output, *nSamplesRendered, st_ivas->hIntSetup.ambisonics_order, GAIN_LFE );
            }
#endif

            /* Rendering */
#ifdef NONBE_FIX_836_PARAMUPMIX_HEADROT