Commit abbc65b6 authored by vaclav's avatar vaclav
Browse files

issue 1301: support External HRTF loading in OSBA bitrate switching; under...

issue 1301: support External HRTF loading in OSBA bitrate switching; under FIX_1301_EXTERNAL_HRTF_OSBA
parent eebddcf6
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -163,6 +163,7 @@
#define FIX_1285_RENDER_CONFIG_PTR_COMPARE              /* Philips: Warning about pointer comparison in the render config reader */
#define FIX_1298_MEMORY_OPT_IVAS_CORE_ENC               /* VA: issue 1298: Memory saving in ivas_core_enc() */
#define SIMPLIFY_IVAS_CORE                              /* VA: simplify ivas core coder functions */
#define FIX_1301_EXTERNAL_HRTF_OSBA                     /* VA: issue 1301: support External HRTF loading in OSBA bitrate switching */

/* #################### End BE switches ################################## */

+6 −0
Original line number Diff line number Diff line
@@ -986,6 +986,12 @@ ivas_error IVAS_DEC_ReadFormat(
        {
            *binaural_renderer_sec = IVAS_BIN_RENDERER_TYPE_TDREND;
        }
#ifdef FIX_1301_EXTERNAL_HRTF_OSBA
        else if ( st_ivas->ivas_format == SBA_ISM_FORMAT && st_ivas->ism_mode == ISM_SBA_MODE_DISC && output_config == IVAS_AUDIO_CONFIG_BINAURAL )
        {
            *binaural_renderer_sec = IVAS_BIN_RENDERER_TYPE_TDREND;
        }
#endif

        *hrtf_set_audio_cfg = IVAS_AUDIO_CONFIG_INVALID;
        if ( *binaural_renderer == IVAS_BIN_RENDERER_TYPE_FASTCONV )