Commit 737b471a authored by vaclav's avatar vaclav
Browse files

remove unused function IVAS_DEC_VoIP_GetRenderGranularity() and defaultCrendWrapper()

parent 3b46b48f
Loading
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -106,7 +106,6 @@ static void store_JbmData( IVAS_DEC_VOIP *hVoIP, JB4_DATAUNIT_HANDLE dataUnit, c
static ivas_error evs_dec_main( Decoder_Struct *st_ivas, const int16_t nOutSamples, float *floatBuf, int16_t *pcmBuf );
static ivas_error input_format_API_to_internal( IVAS_DEC_INPUT_FORMAT input_format, int16_t *bitstream_format_internal, int16_t *sdp_hf_only, const bool is_voip_enabled );
static void init_decoder_config( DECODER_CONFIG_HANDLE hDecoderConfig );
static int16_t IVAS_DEC_VoIP_GetRenderGranularity( Decoder_Struct *st_ivas );
static ivas_error IVAS_DEC_VoIP_reconfigure( IVAS_DEC_HANDLE hIvasDec, const uint16_t nTransportChannels, const uint16_t l_ts );
#ifdef SPLIT_REND_WITH_HEAD_ROT
static ivas_error IVAS_DEC_Setup( IVAS_DEC_HANDLE hIvasDec, uint16_t *nTcBufferGranularity, uint8_t *nTransportChannels, uint8_t *nOutChannels, uint16_t *nSamplesRendered, const IVAS_DEC_PCM_TYPE pcmType, void *data );
@@ -3611,19 +3610,6 @@ static ivas_error input_format_API_to_internal(
}


/*---------------------------------------------------------------------*
 * IVAS_DEC_VoIP_GetRenderGranularity()
 *
 *
 *---------------------------------------------------------------------*/

static int16_t IVAS_DEC_VoIP_GetRenderGranularity(
    Decoder_Struct *st_ivas )
{
    return st_ivas->hTcBuffer->n_samples_granularity;
}


/*---------------------------------------------------------------------*
 * IVAS_DEC_VoIP_reconfigure()
 *
+1 −22
Original line number Diff line number Diff line
@@ -1278,27 +1278,6 @@ static TDREND_WRAPPER defaultTdRendWrapper(
}


static CREND_WRAPPER defaultCrendWrapper(
    void )
{
    CREND_WRAPPER w;

#ifdef SPLIT_REND_WITH_HEAD_ROT
    int16_t i;
    for ( i = 0; i < MAX_HEAD_ROT_POSES; i++ )
    {
        w.hCrend[i] = NULL;
    }
#else
    w.hCrend = NULL;
#endif
    w.hHrtfCrend = NULL;
    w.binaural_latency_ns = 0;

    return w;
}


static bool isIoConfigPairSupported(
    const AUDIO_CONFIG inConfig,
    const AUDIO_CONFIG outConfig )