Commit 59c7f1b2 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_1222_OMASA_DEC_CHANNEL_BUFFERS

parent 1d2f7b96
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -160,7 +160,6 @@

/*#define FIX_I4_OL_PITCH*/                             /* fix open-loop pitch used for EVS core switching */
#define TMP_FIX_1119_SPLIT_RENDERING_VOIP               /* FhG: Add error check for unsupported config: split rendering with VoIP mode */
#define FIX_1222_OMASA_DEC_CHANNEL_BUFFERS              /* VA: issue 1222: Reduction of the number of channel buffers in OMASA decoder */
#define FIX_1228_SAMPLING_RATE_MISMATCH_IN_HRTF_FILE    /* VA: issue 1228: Exit the processing when a HRTF binary file with wrong sampling rate is provided */


+0 −4
Original line number Diff line number Diff line
@@ -1483,11 +1483,7 @@ ivas_error ivas_masa_dec_reconfigure(
        {
            if ( st_ivas->ivas_format == MASA_ISM_FORMAT )
            {
#ifdef FIX_1222_OMASA_DEC_CHANNEL_BUFFERS
                tc_nchan_to_allocate = BINAURAL_CHANNELS + st_ivas->nchan_ism;
#else
                tc_nchan_to_allocate = 2 * BINAURAL_CHANNELS + 2;
#endif
            }
            else
            {
+0 −4
Original line number Diff line number Diff line
@@ -321,11 +321,7 @@ ivas_error ivas_dirac_dec_init_binaural_data(
        nchan_to_allocate = 2 * BINAURAL_CHANNELS;
        if ( st_ivas->ivas_format == MASA_ISM_FORMAT )
        {
#ifdef FIX_1222_OMASA_DEC_CHANNEL_BUFFERS
            nchan_to_allocate = BINAURAL_CHANNELS + st_ivas->nchan_ism;
#else
            nchan_to_allocate = 2 * BINAURAL_CHANNELS + 2;
#endif
        }

        n_samples_granularity = NS2SA( st_ivas->hDecoderConfig->output_Fs, CLDFB_SLOT_NS );
+0 −4
Original line number Diff line number Diff line
@@ -344,11 +344,7 @@ int16_t ivas_get_nchan_buffers_dec(
        }
        else if ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC || st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC_ROOM || st_ivas->renderer_type == RENDERER_STEREO_PARAMETRIC )
        {
#ifdef FIX_1222_OMASA_DEC_CHANNEL_BUFFERS
            nchan_out_buff = max( nchan_out_buff, BINAURAL_CHANNELS + st_ivas->nchan_ism );
#else
            nchan_out_buff = max( nchan_out_buff, 2 * BINAURAL_CHANNELS + 2 );
#endif
        }
        else if ( output_config != IVAS_AUDIO_CONFIG_EXTERNAL )
        {