Commit 38e560e4 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] missing defaults for decoder init

parent 900c6c60
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2118,6 +2118,12 @@ static ivas_error copyRendererConfigStruct(
    hRCout->split_rend_config.codec = ISAR_SPLIT_REND_CODEC_DEFAULT;
    hRCout->split_rend_config.poseCorrectionMode = ISAR_SPLIT_REND_POSE_CORRECTION_MODE_CLDFB;
    hRCout->split_rend_config.rendererSelection = hRCin->split_rend_config.rendererSelection;
#ifdef NONBE_SPLIT_DYN_OFFSET
    /* values will be set later either from config or from defaults */
    set_f( hRCout->split_rend_config.pose_offsets_yaw, SPLIT_REND_POSE_OFFSET_DEFAULT, SPLIT_REND_MAX_YAW_ONLY_POSES );
    set_f( hRCout->split_rend_config.pose_offsets_pitch, SPLIT_REND_POSE_OFFSET_DEFAULT, SPLIT_REND_MAX_PITCH_ONLY_POSES );
    set_f( hRCout->split_rend_config.pose_offsets_roll, SPLIT_REND_POSE_OFFSET_DEFAULT, SPLIT_REND_MAX_ROLL_ONLY_POSES );
#endif
#endif
    hRCout->roomAcoustics.use_er = hRCin->roomAcoustics.use_er;
    hRCout->roomAcoustics.lowComplexity = hRCin->roomAcoustics.lowComplexity;