diff options
author | Katja <katjav@users.sourceforge.net> | 2011-11-06 15:38:24 +0000 |
---|---|---|
committer | Katja <katjav@users.sourceforge.net> | 2011-11-06 15:38:24 +0000 |
commit | 7d41c2213b5070d444fa17cdb04eeb9fdc955309 (patch) | |
tree | 930e28f8ef74a6343d1cf3962e21048447651420 /threshold.c | |
parent | 2e5402b354317ba36480d00de4f1aced6755b7cf (diff) |
made smlib compliant with double precision
svn path=/trunk/externals/smlib/; revision=15707
Diffstat (limited to 'threshold.c')
-rw-r--r-- | threshold.c | 10 |
1 files changed, 5 insertions, 5 deletions
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);
|