diff --git a/lib_com/options.h b/lib_com/options.h index 66bf87943c2bbf7cd2d572e64a674dca2b733f49..c3a6f35f35215650ab9d94794651fbf4df138bcf 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -159,7 +159,8 @@ #define FIX_1033_MEMORY_LEAK_OMASA /* Nokia / Orange: issue #1033: Memory leak in OMASA to BINAURAL with HRTF with bitrate switching */ #define FIX_1038_OFFSET_TO_NULL_PTR_IN_EVS_TCX_BFI /* FhG: move setting of pointers for parameter decoding so they are skipped in lost frames when they are not needed */ #define FIX_1043_JBM_MD_BUFFER /* VA: issue 1043: JBM MD handle allocation is avoided in non-JBM EXT operations */ - +#define FIX_1044_ISM_REND_MEMORY /* VA: issue 1044: Lower the memory of the ISM renderer handle. */ + /* #################### End BE switches ################################## */ /* #################### Start NON-BE switches ############################ */ diff --git a/lib_dec/ivas_stat_dec.h b/lib_dec/ivas_stat_dec.h index 4deb6748e23019654759c758b08596e121c0d95b..c2deed15faede8221afa740aed7b41b56194b233 100644 --- a/lib_dec/ivas_stat_dec.h +++ b/lib_dec/ivas_stat_dec.h @@ -804,10 +804,18 @@ typedef struct ivas_lfe_dec_data_structure typedef struct renderer_struct { +#ifdef FIX_1044_ISM_REND_MEMORY + float prev_gains[MAX_NUM_OBJECTS][MAX_OUTPUT_CHANNELS]; +#else float prev_gains[MAX_CICP_CHANNELS - 1][MAX_OUTPUT_CHANNELS]; +#endif float *interpolator; int16_t interpolator_length; +#ifdef FIX_1044_ISM_REND_MEMORY + float gains[MAX_NUM_OBJECTS][MAX_OUTPUT_CHANNELS]; +#else float gains[MAX_CICP_CHANNELS - 1][MAX_OUTPUT_CHANNELS]; +#endif } ISM_RENDERER_DATA, *ISM_RENDERER_HANDLE;