Commit 312f0822 authored by TYAGIRIS's avatar TYAGIRIS
Browse files

fix 5ms framing BE tests when render config is enabled

parent 0b93d4cf
Loading
Loading
Loading
Loading
+20 −15
Original line number Diff line number Diff line
@@ -640,7 +640,11 @@ int main(
        }

#ifdef SPLIT_REND_WITH_HEAD_ROT
        if ( asked_frame_size != IVAS_RENDER_FRAMESIZE_20MS && ( renderConfig.split_rend_config.poseCorrectionMode == ISAR_SPLIT_REND_POSE_CORRECTION_MODE_NONE ||
        if ( ( arg.outputConfig == IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_CODED ||
               arg.outputConfig == IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_PCM ) )
        {
            if ( asked_frame_size != IVAS_RENDER_FRAMESIZE_20MS &&
                 ( renderConfig.split_rend_config.poseCorrectionMode == ISAR_SPLIT_REND_POSE_CORRECTION_MODE_NONE ||
                   renderConfig.split_rend_config.dof == 0 ) )
            {
                arg.renderFramesize = asked_frame_size;
@@ -659,6 +663,7 @@ int main(
            {
                fprintf( stderr, "\nChanged render framesize, only 20ms are allowed for non-0dof split rendering!\n" );
            }
        }
#endif

        if ( arg.outputConfig == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )