index 88300c86ab86505ff74322914fb540c24033f7bd..fa54d088df9e6f4e8e9770463459032ec52fd9d6 100644 (file)
if(cur_sel_src != NULL && new_sel_src != NULL)\r
{\r
for(i=0; i<inst->frame_size; i++) {\r
-// alpha = (1-utlSin(phase>>16)) / 2; /* to use macros */\r
sin_phase = utlSin(phase>>16); /* Q.31 to Q.15 */\r
fade_out_alpha = MSS_SIN_PIOVER2/2 - sin_phase/2; /* (1-sin(pha))/2 in Q.14 */\r
fade_in_alpha = MSS_SIN_PIOVER2/2 + sin_phase/2; /* (1+sin(pha))/2 in Q.14 */\r