Loading lib_dec/ivas_jbm_dec.c +21 −2 Original line number Diff line number Diff line Loading @@ -214,7 +214,11 @@ ivas_error ivas_jbm_dec_tc( return error; } #ifdef FIX_1043_JBM_MD_BUFFER if ( output_config == IVAS_AUDIO_CONFIG_EXTERNAL && st_ivas->hDecoderConfig->Opt_tsm ) #else if ( output_config == IVAS_AUDIO_CONFIG_EXTERNAL ) #endif { ivas_jbm_dec_copy_masa_meta_to_buffer( st_ivas ); } Loading Loading @@ -413,9 +417,14 @@ ivas_error ivas_jbm_dec_tc( ivas_omasa_render_objects_from_mix( st_ivas, p_output, st_ivas->nchan_ism, output_frame ); } #ifdef FIX_1043_JBM_MD_BUFFER if ( st_ivas->hDecoderConfig->Opt_tsm ) #endif { ivas_jbm_dec_copy_masa_meta_to_buffer( st_ivas ); } } } else if ( st_ivas->ivas_format == SBA_ISM_FORMAT ) { int16_t nchan_ism, sba_ch_idx; Loading Loading @@ -812,7 +821,11 @@ void ivas_jbm_dec_feed_tc_to_renderer( { ivas_jbm_dec_td_renderers_adapt_subframes( st_ivas ); #ifdef FIX_1043_JBM_MD_BUFFER if ( ( st_ivas->ivas_format == MASA_FORMAT || st_ivas->ivas_format == MASA_ISM_FORMAT ) && st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_EXTERNAL && st_ivas->hDecoderConfig->Opt_tsm ) #else if ( ( st_ivas->ivas_format == MASA_FORMAT || st_ivas->ivas_format == MASA_ISM_FORMAT ) && st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_EXTERNAL ) #endif { ivas_jbm_masa_sf_to_slot_map( st_ivas, n_render_timeslots ); } Loading Loading @@ -897,8 +910,14 @@ void ivas_jbm_dec_feed_tc_to_renderer( if ( st_ivas->renderer_type == RENDERER_OMASA_MIX_EXT || st_ivas->renderer_type == RENDERER_OMASA_OBJECT_EXT ) { ivas_jbm_dec_td_renderers_adapt_subframes( st_ivas ); #ifdef FIX_1043_JBM_MD_BUFFER if ( st_ivas->hDecoderConfig->Opt_tsm ) #endif { ivas_jbm_masa_sf_to_slot_map( st_ivas, n_render_timeslots ); } } else { if ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC && st_ivas->ism_mode == ISM_MASA_MODE_DISC ) Loading Loading
lib_dec/ivas_jbm_dec.c +21 −2 Original line number Diff line number Diff line Loading @@ -214,7 +214,11 @@ ivas_error ivas_jbm_dec_tc( return error; } #ifdef FIX_1043_JBM_MD_BUFFER if ( output_config == IVAS_AUDIO_CONFIG_EXTERNAL && st_ivas->hDecoderConfig->Opt_tsm ) #else if ( output_config == IVAS_AUDIO_CONFIG_EXTERNAL ) #endif { ivas_jbm_dec_copy_masa_meta_to_buffer( st_ivas ); } Loading Loading @@ -413,9 +417,14 @@ ivas_error ivas_jbm_dec_tc( ivas_omasa_render_objects_from_mix( st_ivas, p_output, st_ivas->nchan_ism, output_frame ); } #ifdef FIX_1043_JBM_MD_BUFFER if ( st_ivas->hDecoderConfig->Opt_tsm ) #endif { ivas_jbm_dec_copy_masa_meta_to_buffer( st_ivas ); } } } else if ( st_ivas->ivas_format == SBA_ISM_FORMAT ) { int16_t nchan_ism, sba_ch_idx; Loading Loading @@ -812,7 +821,11 @@ void ivas_jbm_dec_feed_tc_to_renderer( { ivas_jbm_dec_td_renderers_adapt_subframes( st_ivas ); #ifdef FIX_1043_JBM_MD_BUFFER if ( ( st_ivas->ivas_format == MASA_FORMAT || st_ivas->ivas_format == MASA_ISM_FORMAT ) && st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_EXTERNAL && st_ivas->hDecoderConfig->Opt_tsm ) #else if ( ( st_ivas->ivas_format == MASA_FORMAT || st_ivas->ivas_format == MASA_ISM_FORMAT ) && st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_EXTERNAL ) #endif { ivas_jbm_masa_sf_to_slot_map( st_ivas, n_render_timeslots ); } Loading Loading @@ -897,8 +910,14 @@ void ivas_jbm_dec_feed_tc_to_renderer( if ( st_ivas->renderer_type == RENDERER_OMASA_MIX_EXT || st_ivas->renderer_type == RENDERER_OMASA_OBJECT_EXT ) { ivas_jbm_dec_td_renderers_adapt_subframes( st_ivas ); #ifdef FIX_1043_JBM_MD_BUFFER if ( st_ivas->hDecoderConfig->Opt_tsm ) #endif { ivas_jbm_masa_sf_to_slot_map( st_ivas, n_render_timeslots ); } } else { if ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC && st_ivas->ism_mode == ISM_MASA_MODE_DISC ) Loading