Loading lib_dec/lib_dec.c +12 −1 Original line number Diff line number Diff line Loading @@ -1042,11 +1042,22 @@ ivas_error IVAS_DEC_ReadFormat( #ifdef FIX_1227_Crend_HRTF_LOADING_OPTIM else if ( *binaural_renderer == IVAS_BIN_RENDERER_TYPE_CREND ) { if ( st_ivas->ivas_format == ISM_FORMAT || ( st_ivas->ivas_format == MC_FORMAT && st_ivas->mc_mode == MC_MODE_MCT ) ) if ( st_ivas->ivas_format == ISM_FORMAT ) { /* BRIRs */ *hrtf_set_audio_cfg = IVAS_AUDIO_CONFIG_7_1_4; } else if ( st_ivas->ivas_format == MC_FORMAT && st_ivas->mc_mode == MC_MODE_MCT ) { /* BRIRs */ *hrtf_set_audio_cfg = IVAS_AUDIO_CONFIG_7_1_4; if ( st_ivas->hDecoderConfig->Opt_Headrotation && ( output_config == IVAS_AUDIO_CONFIG_BINAURAL || output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB ) ) { /* SHD HRIRs for low complexity rotation */ *hrtf_set_audio_cfg = IVAS_AUDIO_CONFIG_HOA3; } } } #endif #else Loading Loading
lib_dec/lib_dec.c +12 −1 Original line number Diff line number Diff line Loading @@ -1042,11 +1042,22 @@ ivas_error IVAS_DEC_ReadFormat( #ifdef FIX_1227_Crend_HRTF_LOADING_OPTIM else if ( *binaural_renderer == IVAS_BIN_RENDERER_TYPE_CREND ) { if ( st_ivas->ivas_format == ISM_FORMAT || ( st_ivas->ivas_format == MC_FORMAT && st_ivas->mc_mode == MC_MODE_MCT ) ) if ( st_ivas->ivas_format == ISM_FORMAT ) { /* BRIRs */ *hrtf_set_audio_cfg = IVAS_AUDIO_CONFIG_7_1_4; } else if ( st_ivas->ivas_format == MC_FORMAT && st_ivas->mc_mode == MC_MODE_MCT ) { /* BRIRs */ *hrtf_set_audio_cfg = IVAS_AUDIO_CONFIG_7_1_4; if ( st_ivas->hDecoderConfig->Opt_Headrotation && ( output_config == IVAS_AUDIO_CONFIG_BINAURAL || output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB ) ) { /* SHD HRIRs for low complexity rotation */ *hrtf_set_audio_cfg = IVAS_AUDIO_CONFIG_HOA3; } } } #endif #else Loading