Commit ea5da63d authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

fix compilation with NONBE_FIX_1141_OSBA_ROOM_RENDERING disabled

parent 281ffdd6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -170,7 +170,7 @@
/* all switches in this category should start with "NONBE_" */

#define NON_BE_FIX_1137_GSC_IVAS_FXFLT_DECODING               /* VA: Add fix point bit allocation for special GSC mode such that float and fixed point have the same final bit allocation */
#define NONBE_FIX_1141_OSBA_ROOM_RENDERING                    /* FhG: Fix for issue 1141: render objects in OSBA decoder with room effect */
//#define NONBE_FIX_1141_OSBA_ROOM_RENDERING                    /* FhG: Fix for issue 1141: render objects in OSBA decoder with room effect */

/* ##################### End NON-BE switches ########################### */

+3 −1
Original line number Diff line number Diff line
@@ -2245,7 +2245,9 @@ void ivas_dirac_dec_render_sf(
                if ( st_ivas->hCombinedOrientationData && st_ivas->hCombinedOrientationData->enableCombinedOrientation[0] )
                {
                    ivas_jbm_dec_get_adapted_linear_interpolator( n_samples_to_render, n_samples_to_render, st_ivas->hIsmRendererData->interpolator );
#ifdef	NONBE_FIX_1141_OSBA_ROOM_RENDERING
					st_ivas->hIsmRendererData->interp_offset = 0;
#endif
                    interp_offset = 0;
                }