Subversion Repositories eduke32

Rev

Rev 8561 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8561 Rev 8616
Line 148... Line 148...
148
148
149
#define VAR_NORM(x) \
149
#define VAR_NORM(x) \
150
    int smp_in; \
150
    int smp_in; \
151
    x *sptr = (x *)vi->sptr; \
151
    x *sptr = (x *)vi->sptr; \
152
    unsigned int pos = (unsigned int)vi->pos; \
152
    unsigned int pos = (unsigned int)vi->pos; \
153
    if (vi->pos >= vi->slen) return; \
-
 
154
    int frac = (int)((1 << SMIX_SHIFT) * (vi->pos - (int)vi->pos))
153
    int frac = (int)((1 << SMIX_SHIFT) * (vi->pos - (int)vi->pos))
155
154
156
#define VAR_LINEAR_MONO(x) \
155
#define VAR_LINEAR_MONO(x) \
157
    VAR_NORM(x); \
156
    VAR_NORM(x); \
158
    int old_vl = vi->old_vl; \
157
    int old_vl = vi->old_vl; \