Loading apps/decoder.c +2 −10 Original line number Diff line number Diff line Loading @@ -2917,11 +2917,7 @@ static ivas_error decodeG192( } /* flush remaining audio */ if ( ( error = IVAS_DEC_Flush( hIvasDec, nOutSamples, IVAS_DEC_PCM_INT16, (void *) pcmBuf, #ifdef FIX_1342_PROPER_FLUSH_IN_SR splitRendBits, #endif &nSamplesFlushed ) ) != IVAS_ERR_OK ) if ( ( error = IVAS_DEC_Flush( hIvasDec, nOutSamples, IVAS_DEC_PCM_INT16, (void *) pcmBuf, &nSamplesFlushed ) ) != IVAS_ERR_OK ) { fprintf( stderr, "\nError in IVAS_DEC_VoIP_Flush: %s\n", IVAS_DEC_GetErrorMessage( error ) ); goto cleanup; Loading Loading @@ -3857,11 +3853,7 @@ static ivas_error decodeVoIP( int16_t nSamplesFlushed = 0; /* flush remaining audio */ if ( ( error = IVAS_DEC_Flush( hIvasDec, nOutSamples, IVAS_DEC_PCM_INT16, (void *) pcmBuf, #ifdef FIX_1342_PROPER_FLUSH_IN_SR splitRendBits, #endif &nSamplesFlushed ) ) != IVAS_ERR_OK ) if ( ( error = IVAS_DEC_Flush( hIvasDec, nOutSamples, IVAS_DEC_PCM_INT16, (void *) pcmBuf, &nSamplesFlushed ) ) != IVAS_ERR_OK ) { fprintf( stderr, "\nError in IVAS_DEC_VoIP_Flush: %s\n", IVAS_DEC_GetErrorMessage( error ) ); goto cleanup; Loading lib_dec/lib_dec.c +0 −3 Original line number Diff line number Diff line Loading @@ -4315,9 +4315,6 @@ ivas_error IVAS_DEC_Flush( const int16_t nSamplesPerChannel, /* i : number of samples per channel requested to be written to output buffer */ const IVAS_DEC_PCM_TYPE pcmType, /* i : type for the decoded PCM resolution */ void *pcmBuf, /* o : output synthesis signal */ #ifdef FIX_1342_PROPER_FLUSH_IN_SR ISAR_SPLIT_REND_BITS_DATA *splitRendBits, /* o : output split rendering bits; NULL when not applicable */ #endif int16_t *nSamplesFlushed /* o : number of samples flushed */ ) { Loading lib_dec/lib_dec.h +0 −3 Original line number Diff line number Diff line Loading @@ -335,9 +335,6 @@ ivas_error IVAS_DEC_Flush( const int16_t nSamplesPerChannel, /* i : number of samples per channel requested to be written to output buffer */ const IVAS_DEC_PCM_TYPE pcmType, /* i : type for the decoded PCM resolution */ void *pcmBuf, /* o : output synthesis signal */ #ifdef FIX_1342_PROPER_FLUSH_IN_SR ISAR_SPLIT_REND_BITS_DATA *splitRendBits, /* o : output split rendering bits; NULL when not applicable */ #endif int16_t *nSamplesFlushed /* o : number of samples flushed */ ); Loading Loading
apps/decoder.c +2 −10 Original line number Diff line number Diff line Loading @@ -2917,11 +2917,7 @@ static ivas_error decodeG192( } /* flush remaining audio */ if ( ( error = IVAS_DEC_Flush( hIvasDec, nOutSamples, IVAS_DEC_PCM_INT16, (void *) pcmBuf, #ifdef FIX_1342_PROPER_FLUSH_IN_SR splitRendBits, #endif &nSamplesFlushed ) ) != IVAS_ERR_OK ) if ( ( error = IVAS_DEC_Flush( hIvasDec, nOutSamples, IVAS_DEC_PCM_INT16, (void *) pcmBuf, &nSamplesFlushed ) ) != IVAS_ERR_OK ) { fprintf( stderr, "\nError in IVAS_DEC_VoIP_Flush: %s\n", IVAS_DEC_GetErrorMessage( error ) ); goto cleanup; Loading Loading @@ -3857,11 +3853,7 @@ static ivas_error decodeVoIP( int16_t nSamplesFlushed = 0; /* flush remaining audio */ if ( ( error = IVAS_DEC_Flush( hIvasDec, nOutSamples, IVAS_DEC_PCM_INT16, (void *) pcmBuf, #ifdef FIX_1342_PROPER_FLUSH_IN_SR splitRendBits, #endif &nSamplesFlushed ) ) != IVAS_ERR_OK ) if ( ( error = IVAS_DEC_Flush( hIvasDec, nOutSamples, IVAS_DEC_PCM_INT16, (void *) pcmBuf, &nSamplesFlushed ) ) != IVAS_ERR_OK ) { fprintf( stderr, "\nError in IVAS_DEC_VoIP_Flush: %s\n", IVAS_DEC_GetErrorMessage( error ) ); goto cleanup; Loading
lib_dec/lib_dec.c +0 −3 Original line number Diff line number Diff line Loading @@ -4315,9 +4315,6 @@ ivas_error IVAS_DEC_Flush( const int16_t nSamplesPerChannel, /* i : number of samples per channel requested to be written to output buffer */ const IVAS_DEC_PCM_TYPE pcmType, /* i : type for the decoded PCM resolution */ void *pcmBuf, /* o : output synthesis signal */ #ifdef FIX_1342_PROPER_FLUSH_IN_SR ISAR_SPLIT_REND_BITS_DATA *splitRendBits, /* o : output split rendering bits; NULL when not applicable */ #endif int16_t *nSamplesFlushed /* o : number of samples flushed */ ) { Loading
lib_dec/lib_dec.h +0 −3 Original line number Diff line number Diff line Loading @@ -335,9 +335,6 @@ ivas_error IVAS_DEC_Flush( const int16_t nSamplesPerChannel, /* i : number of samples per channel requested to be written to output buffer */ const IVAS_DEC_PCM_TYPE pcmType, /* i : type for the decoded PCM resolution */ void *pcmBuf, /* o : output synthesis signal */ #ifdef FIX_1342_PROPER_FLUSH_IN_SR ISAR_SPLIT_REND_BITS_DATA *splitRendBits, /* o : output split rendering bits; NULL when not applicable */ #endif int16_t *nSamplesFlushed /* o : number of samples flushed */ ); Loading