25 Jan
2009
25 Jan
'09
1:40 a.m.
Author: brian Date: Sat Jan 24 19:40:50 2009 New Revision: 11484 Log: temp fix for 8k to 48k popping. Modified: freeswitch/trunk/src/switch_resample.c Modified: freeswitch/trunk/src/switch_resample.c ============================================================================== --- freeswitch/trunk/src/switch_resample.c (original) +++ freeswitch/trunk/src/switch_resample.c Sat Jan 24 19:40:50 2009 @@ -137,9 +137,9 @@ s[i] = (short) (ft - 0.5); } if ((float) s[i] > MAXSAMPLE) - s[i] = (short) MAXSAMPLE; + s[i] = (short) MAXSAMPLE / 2; if (s[i] < (short) -MAXSAMPLE) - s[i] = (short) -MAXSAMPLE; + s[i] = (short) -MAXSAMPLE / 2; } return len; }
6492
Age (days ago)
6492
Last active (days ago)
0 comments
1 participants
participants (1)
-
FreeSWITCH SVN