From 7d41c2213b5070d444fa17cdb04eeb9fdc955309 Mon Sep 17 00:00:00 2001 From: Katja Date: Sun, 6 Nov 2011 15:38:24 +0000 Subject: made smlib compliant with double precision svn path=/trunk/externals/smlib/; revision=15707 --- threshold.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'threshold.c') diff --git a/threshold.c b/threshold.c index 2d99e03..e031234 100644 --- a/threshold.c +++ b/threshold.c @@ -11,11 +11,11 @@ typedef struct _threshold t_outlet *x_outlet2; /* bang out for low thresh */ t_clock *x_clock; /* wakeup for message output */ int x_state; /* 1 = high, 0 = low */ - float x_hithresh; /* value of high threshold */ - float x_lothresh; /* value of low threshold */ - float x_deadwait; /* msec remaining in dead period */ - float x_hideadtime; /* hi dead */ - float x_lodeadtime; /* lo dead */ + t_float x_hithresh; /* value of high threshold */ + t_float x_lothresh; /* value of low threshold */ + t_float x_deadwait; /* msec remaining in dead period */ + t_float x_hideadtime; /* hi dead */ + t_float x_lodeadtime; /* lo dead */ } t_threshold; static void threshold_tick(t_threshold *x); -- cgit v1.2.1