Commit bddcb107 authored by multrus's avatar multrus
Browse files

clang format

parent e9e67eb2
Loading
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1612,7 +1612,6 @@ static void usage_dec( void )
}



/*---------------------------------------------------------------------*
 * initOnFirstGoodFrame()
 *
+1 −4
Original line number Diff line number Diff line
@@ -352,8 +352,7 @@ int main(
            break;
        case IVAS_ENC_INPUT_SBA:
            if ( ( error = IVAS_ENC_ConfigureForAmbisonics( hIvasEnc, arg.inputFs, totalBitrate, arg.max_bwidth_user, bandwidth, arg.dtxConfig, arg.inputFormatConfig.sba.order, arg.inputFormatConfig.sba.isPlanar,
                                                            arg.pca
                                                            ) ) != IVAS_ERR_OK )
                                                            arg.pca ) ) != IVAS_ERR_OK )
            {
                fprintf( stderr, "\nIVAS_ENC_ConfigureForAmbisonics failed: %s\n\n", IVAS_ENC_GetErrorMessage( error ) );
                goto cleanup;
@@ -1126,7 +1125,6 @@ static bool parseCmdlIVAS_enc(
        {
            i++;
            arg->inputFormat = IVAS_ENC_INPUT_STEREO;

        }
        else if ( strcmp( argv_to_upper, "-BINAURAL" ) == 0 )
        {
@@ -1910,5 +1908,4 @@ static bool readBitrate(
}



#undef WMC_TOOL_SKIP
+1 −4
Original line number Diff line number Diff line
@@ -459,8 +459,7 @@ int encoder_main(
            break;
        case IVAS_ENC_INPUT_SBA:
            if ( ( error = IVAS_ENC_ConfigureForAmbisonics( hIvasEnc, arg.inputFs, totalBitrate, arg.max_bwidth_user, bandwidth, arg.dtxConfig, arg.inputFormatConfig.sba.order, arg.inputFormatConfig.sba.isPlanar,
                                                            arg.pca
                                                            ) ) != IVAS_ERR_OK )
                                                            arg.pca ) ) != IVAS_ERR_OK )
            {
                fprintf( stderr, "\nIVAS_ENC_ConfigureForAmbisonics failed: %s\n\n", IVAS_ENC_GetErrorMessage( error ) );
                goto cleanup;
@@ -1229,7 +1228,6 @@ static bool parseCmdlIVAS_enc(
        {
            i++;
            arg->inputFormat = IVAS_ENC_INPUT_STEREO;

        }
        else if ( strcmp( argv_to_upper, "-BINAURAL" ) == 0 )
        {
@@ -2010,5 +2008,4 @@ static bool readBitrate(
}



#undef WMC_TOOL_SKIP
+1 −3
Original line number Diff line number Diff line
@@ -543,12 +543,10 @@ ivas_error config_acelp1(
    if ( L_frame == L_FRAME )
    {
        nb_subfr = NB_SUBFR;

    }
    else /* L_frame == L_FRAME16k */
    {
        nb_subfr = NB_SUBFR16k;

    }

    coder_type_sw = coder_type;
+4 −7
Original line number Diff line number Diff line
@@ -1952,9 +1952,6 @@ void mdct_switching_dec(
}





/*-------------------------------------------------------------------*
 * reset_elements()
 *
Loading