Commit ec2d70e1 authored by Jan Brouwer's avatar Jan Brouwer
Browse files

make branch produce identical results to main by adding acousticPreDelay to...

make branch produce identical results to main by adding acousticPreDelay to the text configuration format to support the non-default value used in rend_config_recreation.cfg
parent 85b25876
Loading
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2319,6 +2319,15 @@ ivas_error RenderConfigReader_read(
                        }
                        aeHasFgIdx = TRUE;
                    }

                    /* Acoustic pre-delay */
                    else if ( strcmp( item, "ACOUSTICPREDELAY" ) == 0 )
                    {
                        if ( !sscanf( pValue, "%f", &hRenderConfig->room_acoustics.acousticPreDelay ) )
                        {
                            errorHandler( item, ERROR_VALUE_INVALID );
                        }
                    }
                    /* Pre-delay */
                    else if ( strcmp( item, "PREDELAY" ) == 0 )
                    {
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ frequencies = [20.0, 25.0, 31.5, 40.0,

[acousticEnvironment:0]
frequencyGridIndex = 0;
acousticPreDelay = 0.032;
predelay =  0.430312;
rt60 = [4.519163, 4.895527, 4.832761, 5.001975, 
    5.344683, 5.760259, 6.36818, 6.955033,