summaryrefslogtreecommitdiffstats
path: root/flow/gsl/gsloscillator-aux.c
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-12-31 23:53:28 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-12-31 23:53:28 +0000
commitbf3bdf1468c5264a57b6aac343f8c7d1a50de848 (patch)
tree661c955b7e81b2f207d0f5ee01f1e389738ff4fe /flow/gsl/gsloscillator-aux.c
parent3aaef8e61de684af6ced2951ab2391cd104e0d4c (diff)
downloadarts-bf3bdf1468c5264a57b6aac343f8c7d1a50de848.tar.gz
arts-bf3bdf1468c5264a57b6aac343f8c7d1a50de848.zip
Automated conversion
aRts now compiles with TQt for Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1210526 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 01831fb..43c4b1f 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_bitmask;
+ ifrac = cur_pos & wave->frac_bittqmask;
ffrac = ifrac * wave->ifrac_to_float;
v = wave->values[tpos];
w = wave->values[tpos + 1];