Commit c503c914 authored by vaclav's avatar vaclav
Browse files

revert unnecessary changes

parent fdf15d90
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2095,7 +2095,7 @@ static ivas_error decodeG192(
    nSamplesAvailableNext = 0;

    vec_pos_update = 0;
    if ( ( arg.enableHeadRotation || arg.outputConfig == AUDIO_CONFIG_BINAURAL_SPLIT_CODED || arg.outputConfig == AUDIO_CONFIG_BINAURAL_SPLIT_PCM )
    if ( arg.enableHeadRotation
#ifdef API_5MS_BASELINE
         && arg.enable5ms
#endif
+4 −4
Original line number Diff line number Diff line
@@ -401,8 +401,8 @@ ivas_error IVAS_DEC_Configure(
    const uint32_t sampleRate,       /* i  : output sampling frequency                  */
    const AUDIO_CONFIG outputConfig, /* i  : output configuration                       */
#ifdef API_5MS
    const bool tsmEnabled, /* i  : enable TSM                                 */
    const bool enable5ms,  /* i  : enable 5ms rendering path                  */
    const int16_t tsmEnabled, /* i  : enable TSM                                 */
    const int16_t enable5ms,  /* i  : enable 5ms rendering path                  */
#endif
    const int16_t customLsOutputEnabled,          /* i  : enable custom loudspeaker setup handle     */
    const int16_t hrtfReaderEnabled,              /* i  : enable HRTF binary file input              */
@@ -460,9 +460,9 @@ ivas_error IVAS_DEC_Configure(
    }

#ifdef API_5MS
    hDecoderConfig->Opt_tsm = (int16_t) tsmEnabled;
    hDecoderConfig->Opt_tsm = tsmEnabled;
#ifdef API_5MS_BASELINE
    hDecoderConfig->Opt_5ms = (int16_t) enable5ms;
    hDecoderConfig->Opt_5ms = enable5ms;
#endif
#endif
    hDecoderConfig->Opt_LsCustom = customLsOutputEnabled;
+2 −2
Original line number Diff line number Diff line
@@ -134,8 +134,8 @@ ivas_error IVAS_DEC_Configure(
    const uint32_t sampleRate,                  /* i  : output sampling frequency                                               */
    const AUDIO_CONFIG outputConfig,            /* i  : audio configuration                                                     */
#ifdef API_5MS
    const bool tsmEnabled,                      /* i  : enable TSM                                                              */
    const bool enable5ms,                       /* i  : enable 5ms rendering path                                               */
    const int16_t tsmEnabled,                   /* i  : enable TSM                                                              */
    const int16_t enable5ms,                    /* i  : enable 5ms rendering path                                               */
#endif    
	const int16_t customLsOutputEnabled,        /* i  : enable custom loudspeaker setup handle                                  */
    const int16_t hrtfReaderEnabled,            /* i  : enable HRTF binary file input                                           */