Commit 99f7047c authored by bayers's avatar bayers
Browse files

improve on function description for IVAS_DEC_TSM_SetQuality, remove DEBUGGING...

improve on function description for IVAS_DEC_TSM_SetQuality, remove DEBUGGING ifdefs around the function
parent a14e1b0e
Loading
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -2573,12 +2573,20 @@ ivas_error IVAS_DEC_VoIP_SetScale(
    return error;
}

#ifdef DEBUGGING
#ifdef VARIABLE_SPEED_DECODING
/*---------------------------------------------------------------------*
 * IVAS_DEC_TSM_SetQuality( )
 *
 * Set the TSM scale
 * set the quality theshold for the time scale modiciation that is used
 * to determine if the TSM yielded a signal that satisfies the minimum
 * quality requirements.
 * quality is lower limit for minimum quality
 * Range is [-2;2] - where positive values allow
 * only pasting with same phase information
 * Negative values would yield cross phased pasting
 * When not setting the minimum quality with this function the default
 * value used is 1.0f
 *
 *---------------------------------------------------------------------*/

ivas_error IVAS_DEC_TSM_SetQuality(
@@ -2602,7 +2610,6 @@ ivas_error IVAS_DEC_TSM_SetQuality(
    return error;
}
#endif
#endif

/*---------------------------------------------------------------------*
 * IVAS_DEC_VoIP_GetSamples( )
+1 −2
Original line number Diff line number Diff line
@@ -262,14 +262,13 @@ ivas_error IVAS_DEC_VoIP_SetScale(
    const int16_t scale                         /* i  : TSM scale to set                                                        */
);

#ifdef DEBUGGING
#ifdef VARIABLE_SPEED_DECODING
ivas_error IVAS_DEC_TSM_SetQuality(
    IVAS_DEC_HANDLE hIvasDec, /* i/o: IVAS decoder handle                                                         */
	const float quality       /* i  : target TSM quality                                                          */
);
#endif
#endif

/*! r: error code */
ivas_error IVAS_DEC_VoIP_GetSamples(
    IVAS_DEC_HANDLE hIvasDec,                   /* i/o: IVAS decoder handle                                                     */