Commit 0df79b88 authored by Marek Szczerba's avatar Marek Szczerba
Browse files

[Cleanup] removal of unused parameter from ivas_rend_openCrend function

parent 40372f79
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1278,8 +1278,13 @@ ivas_error ivas_init_decoder(
            }
        }

#ifdef FIX_I109_ORIENTATION_TRACKING
        if ( ( error = ivas_rend_openCrend( &( st_ivas->hCrendWrapper ), st_ivas->intern_config, st_ivas->hDecoderConfig->output_config,
                                            st_ivas->hRenderConfig, st_ivas->hSetOfHRTF, st_ivas->hDecoderConfig->output_Fs ) ) != IVAS_ERR_OK )
#else
        if ( ( error = ivas_rend_openCrend( &( st_ivas->hCrendWrapper ), st_ivas->intern_config, st_ivas->hDecoderConfig->output_config,
                                            st_ivas->hRenderConfig, st_ivas->hDecoderConfig->Opt_Headrotation, st_ivas->hSetOfHRTF, st_ivas->hDecoderConfig->output_Fs ) ) != IVAS_ERR_OK )
#endif
        {
            return error;
        }
+2 −0
Original line number Diff line number Diff line
@@ -155,7 +155,9 @@ static ivas_error ivas_ism_bitrate_switching(
                                                st_ivas->intern_config,
                                                st_ivas->hOutSetup.output_config,
                                                st_ivas->hRenderConfig,
#ifndef FIX_I109_ORIENTATION_TRACKING
                                                st_ivas->hDecoderConfig->Opt_Headrotation,
#endif
                                                st_ivas->hSetOfHRTF,
                                                st_ivas->hDecoderConfig->output_Fs ) ) != IVAS_ERR_OK )
            {
+4 −1
Original line number Diff line number Diff line
@@ -1145,7 +1145,10 @@ static ivas_error ivas_mc_dec_reconfig(
                if ( ( error = ivas_rend_openCrend( &( st_ivas->hCrendWrapper ),
                                                    st_ivas->intern_config,
                                                    st_ivas->hDecoderConfig->output_config,
                                                    st_ivas->hRenderConfig, st_ivas->hDecoderConfig->Opt_Headrotation,
                                                    st_ivas->hRenderConfig,
#ifndef FIX_I109_ORIENTATION_TRACKING
                                                    st_ivas->hDecoderConfig->Opt_Headrotation,
#endif
                                                    st_ivas->hSetOfHRTF,
                                                    st_ivas->hDecoderConfig->output_Fs ) ) != IVAS_ERR_OK )
                {
+2 −0
Original line number Diff line number Diff line
@@ -733,7 +733,9 @@ ivas_error ivas_rend_openCrend(
    const AUDIO_CONFIG inConfig,
    const AUDIO_CONFIG outConfig,
    RENDER_CONFIG_DATA *hRendCfg,
#ifndef FIX_I109_ORIENTATION_TRACKING
    int16_t Opt_Headrotation,
#endif
    HRTFS_CREND_HANDLE hSetOfHRTF,
    const int32_t output_Fs )
{
+2 −0
Original line number Diff line number Diff line
@@ -493,7 +493,9 @@ ivas_error ivas_rend_openCrend(
    const AUDIO_CONFIG inConfig,
    const AUDIO_CONFIG outConfig,
    RENDER_CONFIG_DATA *hRendCfg,
#ifndef FIX_I109_ORIENTATION_TRACKING
    int16_t Opt_Headrotation,
#endif
    HRTFS_CREND_HANDLE hSetOfHRTF,
    const int32_t output_Fs 
);
Loading