summaryrefslogtreecommitdiffstats
path: root/flow/gsl/gslosctable.c
diff options
context:
space:
mode:
Diffstat (limited to 'flow/gsl/gslosctable.c')
-rw-r--r--flow/gsl/gslosctable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flow/gsl/gslosctable.c b/flow/gsl/gslosctable.c
index b978668..018633d 100644
--- a/flow/gsl/gslosctable.c
+++ b/flow/gsl/gslosctable.c
@@ -395,7 +395,7 @@ gsl_osc_table_lookup (const GslOscTable *table,
wave->n_frac_bits = g_bit_storage (wave->n_values - 1);
wave->n_frac_bits = 32 - wave->n_frac_bits;
int_one = 1 << wave->n_frac_bits;
- wave->frac_bittqmask = int_one - 1;
+ wave->frac_bitmask = int_one - 1;
float_one = int_one;
wave->freq_to_step = float_one * wave->n_values / table->mix_freq;
wave->phase_to_pos = wave->n_values * float_one;