- Timestamp:
- Nov 21, 2017 6:00:21 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/conference.c
r5696 r5698 1978 1978 /* Check if normalization adjustment needed. */ 1979 1979 if (mix_buf_min < MIN_LEVEL || mix_buf_max > MAX_LEVEL) { 1980 int tmp_adj; 1981 1980 1982 if (-mix_buf_min > mix_buf_max) 1981 1983 mix_buf_max = -mix_buf_min; 1982 1984 1983 1985 /* NORMAL_LEVEL * MAX_LEVEL / mix_buf_max; */ 1984 inttmp_adj = (MAX_LEVEL<<7) / mix_buf_max;1986 tmp_adj = (MAX_LEVEL<<7) / mix_buf_max; 1985 1987 if (tmp_adj < listener->mix_adj) 1986 1988 listener->mix_adj = tmp_adj;
Note: See TracChangeset
for help on using the changeset viewer.