Commit 5e266a1e authored by norvell's avatar norvell
Browse files

Fix in CONF_DISTATT

parent 645f2d5e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -131,6 +131,11 @@ ivas_error ivas_render_config_init_from_rom(
        ( *hRenderConfig )->directivity[i * 3 + 1] = 360.0f; /* Back cone */
        ( *hRenderConfig )->directivity[i * 3 + 2] = 1.0f;   /* Back attenuation */
    }
#ifdef CONF_DISTATT
    ( *hRenderConfig )->distAtt[0] = 15.75f;   /* Default max dist */
    ( *hRenderConfig )->distAtt[1] = 1.0f;     /* Default ref dist */
    ( *hRenderConfig )->distAtt[2] = 1.0f;     /* Default rolloff factor */
#endif
#ifdef SPLIT_REND_WITH_HEAD_ROT
    ( *hRenderConfig )->split_rend_config.splitRendBitRate = SPLIT_REND_768k;
    ( *hRenderConfig )->split_rend_config.dof = 3;