Commit 57ac5b4b authored by vaclav's avatar vaclav
Browse files

fix MC HR

parent 542b2f42
Loading
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -1025,6 +1025,18 @@ ivas_error IVAS_DEC_ReadFormat(
                    /* HRIRs */
                    *hrtf_set_audio_cfg = IVAS_AUDIO_CONFIG_BINAURAL;
                }

                if ( st_ivas->hDecoderConfig->Opt_Headrotation )
                {
                    /* SHD transformed HRIRs for low complexity rotation */
                    *hrtf_set_audio_cfg = IVAS_AUDIO_CONFIG_HOA3;

                    if ( st_ivas->mc_mode == MC_MODE_PARAMUPMIX && output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR )
                    {
                        /* BRIRs */
                        *hrtf_set_audio_cfg = IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR;
                    }
                }
            }
        }
#endif
+5 −0
Original line number Diff line number Diff line
@@ -214,6 +214,11 @@ static ivas_error ivas_rend_initCrend(
                hHrtf = hSetOfHRTF->hHRTF_hrir_combined;
            }

            if ( hHrtf == NULL )
            {
                hHrtf = hSetOfHRTF->hHRTF_hrir_hoa3;
            }

            hHrtf->init_from_rom = 0;
        }
        else
+1 −1

File changed.

Contains only whitespace changes.