Skip to content
Snippets Groups Projects
Commit dc10921a authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

Merge branch 'pranay_36/purr-data-pd-l2ork_double_tertiary'

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