Commit 4488b5a7 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

fix encapdulation of more changes in lib_dec/ivas_osba_dec.c

parent dac05343
Loading
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -214,8 +214,11 @@ ivas_error ivas_osba_dirac_td_binaural_jbm(
            int16_t i;
            for ( i = 0; i < nSamplesAsked; i++ )
            {
                // output_f[n][i] = 0.5f * output_f[channel_offset + n][i] + 0.5f * p_sepobj[n][i];
#ifndef NONBE_13552_HARMONIZE_OSBA_LOUDNESS
                output_f[n][i] = 0.5f * output_f[channel_offset + n][i] + 0.5f * p_sepobj[n][i];
#else
                output_f[n][i] = output_f[channel_offset + n][i] + p_sepobj[n][i];
#endif
            }
        }
    }
@@ -350,10 +353,12 @@ void ivas_osba_stereo_add_channels(
        }
    }

    // for ( n = 0; n < nchan_out; n++ )
    // {
    //     v_multc( output_f[n], 0.5f, output_f[n], n_samples_to_render );
    // }
 #ifndef NONBE_13552_HARMONIZE_OSBA_LOUDNESS
    for ( n = 0; n < nchan_out; n++ )
    {
        v_multc( output_f[n], 0.5f, output_f[n], n_samples_to_render );
    }
#endif

    return;
}