Changeset 747 for pjproject/trunk
- Timestamp:
- Oct 3, 2006 5:01:04 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/tonegen.c
r694 r747 94 94 # endif 95 95 # define GEN_INIT(var,R,F,A) var.add = MAXI/R * F, var.c=0, var.vol=A 96 # define GEN_SAMP(val,var) val = (short) VOL( SIN(var.c)>>16));\96 # define GEN_SAMP(val,var) val = (short) VOL(var,SIN(var.c)>>16);\ 97 97 var.c += var.add 98 98
Note: See TracChangeset
for help on using the changeset viewer.