Commit cb8d2012 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] load default renderer config in absence of a custom one for...

[fix] load default renderer config in absence of a custom one for BINAURAL_ROOM_REVERB so that the room acoustics parameters are consistent
parent df7ef84a
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -419,6 +419,15 @@ int main(
            goto cleanup;
        }
    }
#ifdef FIX_1158_FASTCONV_REVERB_HRTF
    else if ( arg.outputConfig == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
    {
        /* supply default renderer config for BINAURAL_ROOM_REVERB */
        IVAS_RENDER_CONFIG_DATA renderConfig;
        IVAS_DEC_GetDefaultRenderConfig( &renderConfig );
        IVAS_DEC_FeedRenderConfig( hIvasDec, renderConfig );
    }
#endif

    /*------------------------------------------------------------------------------------------*
     * Configure the decoder