summaryrefslogtreecommitdiffstats
path: root/flow/gsl/gsloscillator-aux.c
diff options
context:
space:
mode:
Diffstat (limited to 'flow/gsl/gsloscillator-aux.c')
-rw-r--r--flow/gsl/gsloscillator-aux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flow/gsl/gsloscillator-aux.c b/flow/gsl/gsloscillator-aux.c
index 43c4b1f..01831fb 100644
--- a/flow/gsl/gsloscillator-aux.c
+++ b/flow/gsl/gsloscillator-aux.c
@@ -161,7 +161,7 @@ GSL_INCLUDER_FUNC (GslOscData *osc,
guint32 tpos, ifrac;
gfloat ffrac, w;
tpos = cur_pos >> wave->n_frac_bits;
- ifrac = cur_pos & wave->frac_bittqmask;
+ ifrac = cur_pos & wave->frac_bitmask;
ffrac = ifrac * wave->ifrac_to_float;
v = wave->values[tpos];
w = wave->values[tpos + 1];