Commit dcc907b6 authored by vaclav's avatar vaclav
Browse files

fix split-rendering cases

parent 033c3258
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -648,7 +648,7 @@ void ivas_dirac_dec_binaural(
        {
#ifdef FIX_264_AUDIO_CHANNELS_TO_HEAP
            decorr_signal[ch] = decorr_signal_buff[ch];
            p_output[ch + BINAURAL_CHANNELS] = output_f[ch + BINAURAL_CHANNELS];
            p_output[ch + BINAURAL_CHANNELS] = decorr_signal[ch];
#else
            decorr_signal[ch] = (float *) &( output_f[ch + BINAURAL_CHANNELS][0] );
#endif
+1 −1
Original line number Diff line number Diff line
@@ -351,7 +351,7 @@ int16_t ivas_get_nchan_buffers(

    if ( output_config == AUDIO_CONFIG_BINAURAL_SPLIT_CODED || output_config == AUDIO_CONFIG_BINAURAL_SPLIT_PCM )
    {
        nchan_out_buff = st_ivas->splitBinRend.splitrend.multiBinPoseData.num_poses * BINAURAL_CHANNELS;
        nchan_out_buff = max( nchan_out_buff, st_ivas->splitBinRend.splitrend.multiBinPoseData.num_poses * BINAURAL_CHANNELS );
    }

    return nchan_out_buff;