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

fix bud and tests

parent af502fb0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -218,6 +218,7 @@ static ivas_error ivas_rend_initCrend(

#ifdef FIX_BINARY_BINAURAL_READING
    if ( ( hSetOfHRTF == NULL ) ||
         ( ( hSetOfHRTF->hHRTF_hrir_combined == NULL ) && ( inConfigType == IVAS_REND_AUDIO_CONFIG_TYPE_CHANNEL_BASED ) && ( outConfig == IVAS_AUDIO_CONFIG_BINAURAL ) && ( outConfig == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB ) ) ||
         ( ( hSetOfHRTF->hHRTF_hrir_combined == NULL ) && ( inConfigType == IVAS_REND_AUDIO_CONFIG_TYPE_CHANNEL_BASED ) && ( outConfig == IVAS_AUDIO_CONFIG_BINAURAL ) ) ||
         ( ( hSetOfHRTF->hHRTF_brir_combined == NULL ) && ( inConfigType == IVAS_REND_AUDIO_CONFIG_TYPE_CHANNEL_BASED ) && ( outConfig == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR ) ) ||
         ( ( hSetOfHRTF->hHRTF_hrir_foa == NULL ) && ( inConfig == IVAS_AUDIO_CONFIG_FOA ) ) ||
+4 −0
Original line number Diff line number Diff line
@@ -2484,6 +2484,10 @@ static ivas_error setRendInputActiveMc(
    inputMc->customLsInput = defaultCustomLs();
    inputMc->tdRendWrapper = defaultTdRendWrapper();
#ifdef FIX_BINARY_BINAURAL_READING
    if ( hTD )
    {
        inputMc->tdRendWrapper.binaural_latency_ns = (int32_t) ( hTD->latency_s * 1000000000.f );
    }
    inputMc->tdRendWrapper.hHrtfTD = hTD;
#endif
    inputMc->crendWrapper = NULL;
Loading