Commit 93283e8a authored by Sumeyra Demir Kanik's avatar Sumeyra Demir Kanik
Browse files

Fix for overriding initial directivity default values

parent 5182c183
Loading
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -3740,6 +3740,9 @@ int16_t IVAS_REND_GetRenderConfig(
    hRCout->room_acoustics.nBands = hRCin->roomAcoustics.nBands;
    hRCout->room_acoustics.acousticPreDelay = hRCin->roomAcoustics.acousticPreDelay;
    hRCout->room_acoustics.inputPreDelay = hRCin->roomAcoustics.inputPreDelay;
#ifdef FIX_463_TD_RENDERER_DIRECTIVITY_RESET
    mvr2r( hRCin->directivity, hRCout->directivity, 3 );
#endif

    mvr2r( hRCin->roomAcoustics.pFc_input, hRCout->room_acoustics.pFc_input, CLDFB_NO_CHANNELS_MAX );
    mvr2r( hRCin->roomAcoustics.pAcoustic_rt60, hRCout->room_acoustics.pAcoustic_rt60, CLDFB_NO_CHANNELS_MAX );
@@ -3766,9 +3769,8 @@ int16_t IVAS_REND_FeedRenderConfig(
    {
        return IVAS_ERR_UNEXPECTED_NULL_POINTER;
    }

    hRenderConfig = hIvasRend->hRendererConfig;
    mvr2r( renderConfig.directivity, hRenderConfig->directivity, 3 );

#ifdef DEBUGGING
    hRenderConfig->renderer_type_override = RENDER_TYPE_OVERRIDE_NONE;
    if ( renderConfig.renderer_type_override == IVAS_RENDER_TYPE_OVERRIDE_FASTCONV )