Commit fc38d662 authored by Pranay Gupta's avatar Pranay Gupta
Browse files

double precision patches to loop~ class and lrshift~ class

parent c39e4721
......@@ -14,7 +14,8 @@ This file is downloadable from http://www.crca.ucsd.edu/~msp .
#ifdef PD
#include "m_pd.h"
#else
#define t_sample float
typedef float t_float;
typedef float t_sample;
#endif
......@@ -96,7 +97,7 @@ static void loopctl_init(t_loopctl *x)
x->l_phase = 0;
}
static void loopctl_set(t_loopctl *x, float val)
static void loopctl_set(t_loopctl *x, t_float val)
{
if (val < 0 || val > 1)
val = 0;
......
......@@ -8,7 +8,7 @@ typedef struct _lrshift_tilde
{
t_object x_obj;
int x_n;
float x_f;
t_float x_f;
} t_lrshift_tilde;
static t_int *leftshift_perform(t_int *w)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment