Commit c9d32d41 authored by vaclav's avatar vaclav
Browse files

remove leftover parameters arg.hrtfCRendReaderEnabled and arg.hrtfCRendFileName

parent 559323c3
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -100,8 +100,6 @@ typedef struct
    float FER;
    bool hrtfReaderEnabled;
    char *hrtfFileName;
    bool hrtfCRendReaderEnabled;
    char *hrtfCRendFileName;
    IVAS_DEC_INPUT_FORMAT inputFormat;
    bool customLsOutputEnabled;
    char *customLsSetupFilename;
@@ -499,7 +497,7 @@ int main(

        if ( ( error = create_SetOfHRTF_from_binary( hSetOfHRTF, hrtfReader, arg.output_Fs ) ) != IVAS_ERR_OK )
        {
            fprintf( stderr, "\nError in loading HRTF binary file %s for CRend \n\n", arg.hrtfCRendFileName );
            fprintf( stderr, "\nError in loading HRTF binary file %s for CRend \n\n", arg.hrtfFileName );
            goto cleanup;
        }
        IVAS_DEC_HRTF_FASTCONV_HANDLE hHrtfFastConv;
@@ -507,14 +505,14 @@ int main(

        if ( ( error = load_fastconv_HRTF_from_binary( hHrtfFastConv, hrtfReader ) ) != IVAS_ERR_OK )
        {
            fprintf( stderr, "\nError in loading HRTF binary file %s for FastConv \n\n", arg.hrtfCRendFileName );
            fprintf( stderr, "\nError in loading HRTF binary file %s for FastConv \n\n", arg.hrtfFileName );
        }
        IVAS_DEC_HRTF_PARAMBIN_HANDLE hHrtfParambin;
        IVAS_DEC_GetHrtfParamBinHandle( hIvasDec, &hHrtfParambin );

        if ( ( error = load_parambin_HRTF_from_binary( hHrtfParambin, hrtfReader ) ) != IVAS_ERR_OK )
        {
            fprintf( stderr, "\nError in loading HRTF binary file %s for parametric binauralizer \n\n", arg.hrtfCRendFileName );
            fprintf( stderr, "\nError in loading HRTF binary file %s for parametric binauralizer \n\n", arg.hrtfFileName );
        }
    }

@@ -746,9 +744,6 @@ static bool parseCmdlIVAS_dec(
    arg->hrtfReaderEnabled = false;
    arg->hrtfFileName = NULL;

    arg->hrtfCRendReaderEnabled = false;
    arg->hrtfCRendFileName = NULL;

    arg->customLsOutputEnabled = false;
    arg->customLsSetupFilename = NULL;