Commit e87ef7ea authored by vaclav's avatar vaclav
Browse files

fix error return

parent b815a28d
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -8737,14 +8737,18 @@ static ivas_error printConfigInfo_rend(
     * Print output audio configuration
     *-----------------------------------------------------------------*/

    error = get_channel_config( hIvasRend->outputConfig, &config_str[0] );
    if ( ( error = get_channel_config( hIvasRend->outputConfig, &config_str[0] ) ) != IVAS_ERR_OK )
    {
        return error;
    }

    fprintf( stdout, "Output configuration:   %s\n", config_str );

    /*-----------------------------------------------------------------*
     * Print renderer configurations
     *-----------------------------------------------------------------*/

    fprintf( stdout, "Input sampling rate:    %d Hz\n", hIvasRend->sampleRateOut );
    fprintf( stdout, "Output sampling rate:   %d Hz\n", hIvasRend->sampleRateOut );

    if ( hIvasRend->headRotData.headRotEnabled == 1 )
    {