Commit 8334ffb0 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

- add renderer_fmt to external test output names too

- whitepsace in renderer.c to align with main
parent f62f56ba
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2112,8 +2112,8 @@ int main(
    /* add zeros at the end to have equal length of synthesized signals */
#ifdef SPLIT_REND_WITH_HEAD_ROT
    if ( audioWriter != NULL )
#endif
    {
#endif
#ifdef API_5MS
        int32_t zerosPadded = 0;
        zeroPad *= outBuffer.config.numChannels;
@@ -2136,7 +2136,9 @@ int main(
            exit( -1 );
        }
#endif
#ifdef SPLIT_REND_WITH_HEAD_ROT
    }
#endif

    if ( args.inConfig.numAudioObjects != 0 && ( args.outConfig.audioConfig == IVAS_REND_AUDIO_CONFIG_BINAURAL || args.outConfig.audioConfig == IVAS_REND_AUDIO_CONFIG_BINAURAL_ROOM_REVERB ) )
    {
+0 −4
Original line number Diff line number Diff line
@@ -2209,12 +2209,8 @@ static ivas_error ivas_renderMultiTDBinToSplitBinaural(

    if ( useLc3plus )
    {
#if 0 // def API_5MS
        int32_t frame_size = hSplitBin->hLc3plusEnc->config.samplerate * codec_frame_size_ms / 1000;
#else
        /*this should always have the time resolution of pose correction MD. Note that this does not change frame size of LC3plus*/
        int32_t frame_size = hSplitBin->hLc3plusEnc->config.samplerate / (int32_t) FRAMES_PER_SEC;
#endif

        for ( i = 0; i < num_poses * BINAURAL_CHANNELS; ++i )
        {
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ def run_external_split_rendering(

    with TemporaryDirectory() as tmp_dir:
        tmp_dir = Path(tmp_dir)
        test_file_stem = f"{in_fmt}_{pre_trajectory.stem}_split_ext_{post_trajectory.stem}__config_{render_config.stem}"
        test_file_stem = f"{in_fmt}_{renderer_fmt}_{pre_trajectory.stem}_split_ext_{post_trajectory.stem}__config_{render_config.stem}"
        if plc_error_pattern:
            test_file_stem += f"_plc_{plc_error_pattern.stem}"