Commit 3648217b authored by vaclav's avatar vaclav
Browse files

correction (accidentally not removed #else ... #endif code)

parent 67510528
Loading
Loading
Loading
Loading
Loading
+0 −30
Original line number Diff line number Diff line
@@ -1015,36 +1015,6 @@ ivas_error IVAS_DEC_ReadFormat(
        renderer_type_sec_new = ivas_renderer_secondary_select( st_ivas );
        *binaural_renderer_sec = renderer_type_to_mode( renderer_type_sec_new );

        switch ( st_ivas->renderer_type )
        {
            case RENDERER_BINAURAL_OBJECTS_TD:
                *binaural_renderer = IVAS_BIN_RENDERER_TYPE_TDREND;
                break;
            case RENDERER_BINAURAL_MIXER_CONV:
            case RENDERER_BINAURAL_MIXER_CONV_ROOM:
                *binaural_renderer = IVAS_BIN_RENDERER_TYPE_CREND;
                break;
            case RENDERER_BINAURAL_FASTCONV:
                *binaural_renderer = IVAS_BIN_RENDERER_TYPE_FASTCONV;
                break;
            case RENDERER_BINAURAL_FASTCONV_ROOM:
                *binaural_renderer = IVAS_BIN_RENDERER_TYPE_FASTCONV;
                break;
            case RENDERER_BINAURAL_PARAMETRIC:
            case RENDERER_BINAURAL_PARAMETRIC_ROOM:
                *binaural_renderer = IVAS_BIN_RENDERER_TYPE_PARAMBIN;
                break;
            default:
                *binaural_renderer = IVAS_BIN_RENDERER_TYPE_NONE;
                break;
        }

        *binaural_renderer_sec = IVAS_BIN_RENDERER_TYPE_NONE;
        if ( st_ivas->ivas_format == MASA_ISM_FORMAT && st_ivas->ism_mode == ISM_MASA_MODE_DISC && output_config == IVAS_AUDIO_CONFIG_BINAURAL )
        {
            *binaural_renderer_sec = IVAS_BIN_RENDERER_TYPE_TDREND;
        }

        /* select HRTF audio configuration to load the right HRTF set for the external binary file */
        *hrtf_set_audio_cfg = IVAS_AUDIO_CONFIG_INVALID;
        if ( *binaural_renderer == IVAS_BIN_RENDERER_TYPE_FASTCONV )