summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eb5d4f3)
raw | patch | inline | side by side (parent: eb5d4f3)
author | Sinthu Raja M <x0257345@ti.com> | |
Tue, 5 Feb 2019 12:01:17 +0000 (17:31 +0530) | ||
committer | Sinthu Raja M <x0257345@ti.com> | |
Tue, 5 Feb 2019 12:01:17 +0000 (17:31 +0530) |
Code clean up: Remove commented code
common/components/mss/src/mssproc.c | patch | blob | history |
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