Ignore:
Timestamp:
Oct 3, 2006 5:01:04 PM (18 years ago)
Author:
bennylp
Message:

Fixed compilation error in tone generator when using fixed point.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/tonegen.c

    r694 r747  
    9494#   endif 
    9595#   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);\ 
    9797                                var.c += var.add 
    9898 
Note: See TracChangeset for help on using the changeset viewer.