Commit 4a469b68 authored by emerit's avatar emerit
Browse files

avoid tests to fail if reading old format binary hrtf file

parent b43fc7d1
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -294,6 +294,13 @@ int main(
            goto cleanup;
        }

#ifdef FIX_OLD_BINARY_HRTF
        if ( strstr( arg.hrtfFileName, ".binold" ) != NULL )
        {
            arg.hrtfFileName[strlen( arg.hrtfFileName ) - 3] = '\0';
        }
#endif

        if ( ( error = hrtfFileReader_open( arg.hrtfFileName, &hrtfReader ) ) != IVAS_ERR_OK )
        {
            arg.hrtfReaderEnabled = false;
+1 −0
Original line number Diff line number Diff line
@@ -171,6 +171,7 @@
#define FIX_638_ENERGIE_IAC_ROM_TABLES                  /* Missing left/right and coherence late reverb tables in binary format*/
#define FIX_BINARY_BINAURAL_READING                     /* Add support reading binaural binary file */
#define FIX_CRASH_LONG_BRIR                             /* Fix crash when long BRIR is set */
#define FIX_OLD_BINARY_HRTF                             /* avoid reading old binary hrtf file in tests*/

/* #################### End BE switches ################################## */