Commit 54d27371 authored by sagnowski's avatar sagnowski
Browse files

Clean up todo comments

parent a91d5d6a
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -230,7 +230,6 @@ void ivas_HRTF_CRend_binary_close(
 *----------------------------------------------------------------------------------*/

#ifdef SPLIT_REND_WITH_HEAD_ROT
/* TODO(sgi): Rework interface */
void ObjRenderIvasFrame_splitBinaural(
    Decoder_Struct *st_ivas,                                    /* i/o: IVAS decoder structure                  */
    float output[][L_FRAME48k],                                 /* i/o: SCE channels / Binaural synthesis       */
+2 −4
Original line number Diff line number Diff line
@@ -1746,7 +1746,6 @@ ivas_error ivas_split_renderer_open( SPLIT_REND_WRAPPER *hSplitRendWrapper,
{
    ivas_error error, ch, num_ch;
    CLDFB_TYPE cldfbMode;
    uint8_t useLc3plus;
    uint8_t isCldfbNeeded = 0;
    cldfbMode = CLDFB_ANALYSIS;

@@ -1755,7 +1754,6 @@ ivas_error ivas_split_renderer_open( SPLIT_REND_WRAPPER *hSplitRendWrapper,
        return error;
    }

    useLc3plus = pSplitRendConfig->codec == IVAS_SPLIT_REND_CODEC_LC3PLUS; /* TODO(sgi): change "useLc3plus" to "splitCodec" */
    error = IVAS_ERR_OK;

    if (
@@ -1821,7 +1819,7 @@ ivas_error ivas_split_renderer_open( SPLIT_REND_WRAPPER *hSplitRendWrapper,

    if ( is_pcm_out == 0 )
    {
        if ( !useLc3plus )
        if ( pSplitRendConfig->codec == IVAS_SPLIT_REND_CODEC_LCLD )
        {
            error = ivas_splitBinLCLDEncOpen( &hSplitRendWrapper->hSplitBinLCLDEnc, OutSampleRate, BINAURAL_CHANNELS, ivas_get_lcld_bitrate( pSplitRendConfig->splitRendBitRate, hSplitRendWrapper->multiBinPoseData.poseCorrectionMode ) );
            if ( error != IVAS_ERR_OK )
@@ -2046,7 +2044,7 @@ static ivas_error ivas_renderMultiTDBinToSplitBinaural(
    if ( pcm_out == 0 )
    {
        pBits->pose_correction = hSplitBin->multiBinPoseData.poseCorrectionMode;
        pBits->codec = useLc3plus ? IVAS_SPLIT_REND_CODEC_LC3PLUS : IVAS_SPLIT_REND_CODEC_LCLD; /* TODO(sgi): useLc3plus could be changed to splitCodec */
        pBits->codec = useLc3plus ? IVAS_SPLIT_REND_CODEC_LC3PLUS : IVAS_SPLIT_REND_CODEC_LCLD;
        if ( !useLc3plus )
        {
            // available_bits = ivas_get_lcld_bitrate( SplitRendBitRate ) * L_FRAME48k / 48000;