Commit c06bb5d9 authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Fix issue 673. Update the metadata in the third subframe also in OMASA to...

Fix issue 673. Update the metadata in the third subframe also in OMASA to account for the audio delay, in order to have the correct audio-metadata sync.
parent 7a8335cc
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -217,7 +217,7 @@
#define FIX_613_DIRAC_NULL_PTR_USAN                     /* Nokia: Issue #613: USAN in DirAC decoder setup */

#define MASA_AND_OBJECTS                                /* Nokia: Combination of MASA and objects */

#define FIX_673_OMASA_OBJ_MD_SYNC                       /* Nokia: Fix issue 673 by updating metadata in the third subframe to account for audio delay. */


/* ################## End BE DEVELOPMENT switches ######################### */
+4 −0
Original line number Diff line number Diff line
@@ -110,7 +110,11 @@ ivas_error ivas_td_binaural_renderer(
#ifdef MASA_AND_OBJECTS
    if ( st_ivas->ivas_format == MASA_ISM_FORMAT )
    {
#ifdef FIX_673_OMASA_OBJ_MD_SYNC
        ism_md_subframe_update = 2;
#else
        ism_md_subframe_update = 0; // ToDo (for Mikko-Ville): verify whether it should not be 2
#endif
    }
#endif