aboutsummaryrefslogtreecommitdiff
path: root/modules++
diff options
context:
space:
mode:
Diffstat (limited to 'modules++')
-rw-r--r--modules++/blosc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules++/blosc.cc b/modules++/blosc.cc
index be1062d..617d068 100644
--- a/modules++/blosc.cc
+++ b/modules++/blosc.cc
@@ -88,9 +88,9 @@ static inline u32 _float_to_phase(float f){return ((u32)(f * 4294967296.0f)) & ~
/* flat table: better for linear interpolation */
-static inline float _play_voice_lint(float *table, int *index, float frac, float scale)
+static inline float _play_voice_lint(float *table, t_int *index, float frac, float scale)
{
- int i = *index;
+ t_int i = *index;
/* perform linear interpolation */
float f = (((1.0f - frac) * table[i]) + (table[i+1] * frac)) * scale;