st_ivas->hSCE[sce_id]->hCoreCoder[0]->total_brate=st_ivas->hSCE[sce_id]->element_brate;/* dummy initialization for getting right pointers initialization of input buffers in init_coder_ace_plus() */
st_ivas->hSCE[sce_id]->hCoreCoder[0]->total_brate=st_ivas->hSCE[sce_id]->element_brate;/* dummy initialization for getting right pointers initialization of input buffers in init_coder_ace_plus() */
}
/* Destroy the core coder memory */
for(;sce_id<last_nchan_trans;sce_id++)
{
destroy_sce_dec(st_ivas->hSCE[sce_id]);
st_ivas->hSCE[sce_id]=NULL;
}
}
/* destroy the memory of hp20*/
if(st_ivas->mem_hp20_out!=NULL)
{
for(sce_id=0;sce_id<last_nchan_trans;sce_id++)
{
count_free(st_ivas->mem_hp20_out[sce_id]);
st_ivas->mem_hp20_out[sce_id]=NULL;
}
count_free(st_ivas->mem_hp20_out);
st_ivas->mem_hp20_out=NULL;
}
/* re initialize the memory of hp20 */
/* set number of input channels used for analysis/coding */
st_ivas->hSCE[sce_id]->hCoreCoder[0]->total_brate=st_ivas->hSCE[sce_id]->element_brate;/* dummy initialization for getting right pointers initialization of input buffers in init_coder_ace_plus() */
st_ivas->hSCE[sce_id]->hCoreCoder[0]->total_brate=st_ivas->hSCE[sce_id]->element_brate;/* dummy initialization for getting right pointers initialization of input buffers in init_coder_ace_plus() */