Commit fde3a293 authored by bayers's avatar bayers
Browse files

temp fix for orientation tracking init

parent 3a9743d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -228,7 +228,7 @@
#define FIX_510                                         /* FhG: fix issue 510, misleading error message for invalid input format */
#define FIX_509                                         /* FhG: fix issue 509, too low number of bitsream indices in SBA */
#define FIX_XXX_JITTER_SBA_BINAURAL_GAIN

#define FIX_XXX_HEADTRACKER_INIT
#define API_5MS

/* ################## End DEVELOPMENT switches ######################### */
+8 −1
Original line number Diff line number Diff line
@@ -631,6 +631,12 @@ ivas_error ivas_init_decoder_front(
        {
            return error;
        }
#ifdef FIX_XXX_HEADTRACKER_INIT
        if ( ( error = ivas_orient_trk_SetTrackingType( st_ivas->hHeadTrackData->OrientationTracker, st_ivas->hDecoderConfig->orientation_tracking ) ) != IVAS_ERR_OK )
        {
            return error;
        }
#endif
    }

    /*-------------------------------------------------------------------*
@@ -781,6 +787,7 @@ ivas_error ivas_init_decoder(
        }
    }

#ifndef FIX_XXX_HEADTRACKER_INIT
    /*-----------------------------------------------------------------*
     * Set head/orientation tracking
     *-----------------------------------------------------------------*/
@@ -834,7 +841,7 @@ ivas_error ivas_init_decoder(
        }
#endif
    }

#endif
    /*-----------------------------------------------------------------*
     * Allocate and initialize SCE/CPE and other handles
     *-----------------------------------------------------------------*/