Loading lib_rend/lib_rend.c +2 −2 Original line number Diff line number Diff line Loading @@ -3666,7 +3666,7 @@ static ivas_error isar_pre_rend_init( /* If the cldfb_in_flag is different from what was previously allocated for the buffer, change the size */ if ( pSplitRendEncBuffer->data != NULL && ( cldfb_in_flag != bufConfig.is_cldfb ) ) if ( pSplitRendEncBuffer->data != NULL && ( cldfb_in_flag != pSplitRendEncBuffer->config.is_cldfb ) ) { realloc = true; } Loading @@ -3674,9 +3674,9 @@ static ivas_error isar_pre_rend_init( if ( pSplitRendEncBuffer->data == NULL || realloc ) { /* set buffer config */ bufConfig.is_cldfb = cldfb_in_flag; bufConfig.numSamplesPerChannel = cldfb_in_flag ? MAX_CLDFB_BUFFER_LENGTH_PER_CHANNEL : L_FRAME_MAX; bufConfig.numChannels = BINAURAL_CHANNELS * pSplitRendWrapper->multiBinPoseData.num_poses; bufConfig.is_cldfb = cldfb_in_flag; pSplitRendEncBuffer->config = bufConfig; /* allocate memory */ Loading Loading
lib_rend/lib_rend.c +2 −2 Original line number Diff line number Diff line Loading @@ -3666,7 +3666,7 @@ static ivas_error isar_pre_rend_init( /* If the cldfb_in_flag is different from what was previously allocated for the buffer, change the size */ if ( pSplitRendEncBuffer->data != NULL && ( cldfb_in_flag != bufConfig.is_cldfb ) ) if ( pSplitRendEncBuffer->data != NULL && ( cldfb_in_flag != pSplitRendEncBuffer->config.is_cldfb ) ) { realloc = true; } Loading @@ -3674,9 +3674,9 @@ static ivas_error isar_pre_rend_init( if ( pSplitRendEncBuffer->data == NULL || realloc ) { /* set buffer config */ bufConfig.is_cldfb = cldfb_in_flag; bufConfig.numSamplesPerChannel = cldfb_in_flag ? MAX_CLDFB_BUFFER_LENGTH_PER_CHANNEL : L_FRAME_MAX; bufConfig.numChannels = BINAURAL_CHANNELS * pSplitRendWrapper->multiBinPoseData.num_poses; bufConfig.is_cldfb = cldfb_in_flag; pSplitRendEncBuffer->config = bufConfig; /* allocate memory */ Loading