Commit b602250c authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

remove unused structure

parent 20a0cfb1
Loading
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -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;
@@ -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;
+0 −3
Original line number Diff line number Diff line
@@ -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                                                     */
)
{
+0 −3
Original line number Diff line number Diff line
@@ -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                                               */
);