Commit df59e935 authored by Sumeyra Demir Kanik's avatar Sumeyra Demir Kanik
Browse files

Adjust the quantization for 5ms subframe

parent 464034c3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2054,8 +2054,8 @@ static void parseOption(
#ifdef FIX_488_SYNC_DELAY
        case CmdLnOptionId_syncMdDelay:
            assert( numOptionValues == 1 );
            /* Metadata Delay to sync with audio delay converted from ms to 5ms (1/50/4*1000) subframe index */
            args->syncMdDelay = (int16_t) floor( strtof( optionValues[0], NULL ) / ( 1 / FRAMES_PER_SEC / MAX_PARAM_SPATIAL_SUBFRAMES * 1000 ) );
            /* Metadata Delay to sync with audio delay converted from ms to 5ms (1000/50/4) subframe index */
            args->syncMdDelay = (int16_t) floor( strtof( optionValues[0], NULL ) / ( 1000 / FRAMES_PER_SEC / MAX_PARAM_SPATIAL_SUBFRAMES ) );
            break;
#endif
        default: