Commit 13123ec2 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

extend buffer size

parent e5b7a256
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -934,7 +934,11 @@ ivas_error ivas_jbm_dec_render(
{
    int16_t n, nchan_out;
    int16_t nchan_transport;
    float output[MAX_OUTPUT_CHANNELS][L_FRAME48k]; /* 'float' buffer for output synthesis, MAX_OUTPUT_CHANNELS channels */
    float output[MAX_OUTPUT_CHANNELS
#ifdef JBM_FOR_OSBA
	+ MAX_NUM_OBJECTS
#endif
	][L_FRAME48k]; /* 'float' buffer for output synthesis, MAX_OUTPUT_CHANNELS channels */
    int16_t nchan_remapped;
    int32_t output_Fs;
    AUDIO_CONFIG output_config;
+2 −2
Original line number Diff line number Diff line
@@ -175,8 +175,7 @@ ivas_error ivas_osba_dirac_td_binaural_jbm(
    }

	ivas_sba_dec_render( st_ivas, nSamplesAsked, nSamplesRendered, nSamplesAvailable, output_f );


#if 0
    if ( st_ivas->renderer_type == RENDERER_BINAURAL_FASTCONV )
    {
        if ( ( error = ivas_sba_upmixer_renderer( st_ivas, &output_f[channel_offset], nSamplesAsked ) ) != IVAS_ERR_OK )
@@ -207,6 +206,7 @@ ivas_error ivas_osba_dirac_td_binaural_jbm(
            output_f[n][i] = 0.5f * output_f[channel_offset + n][i] + 0.5f * p_sepobj[n][i];
        }
    }
#endif

    return IVAS_ERR_OK;
}