summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-02-03 18:17:28 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-02-03 18:17:28 -0800
commit02111ff581e5c8f5c3df2dc0cbae4a5f09ae158a (patch)
tree55d34395248efbf8cc228f4ff7ac8914d997afc7 /src
parent4e6e9a0b2a3d38900764ddabb1ad20830aa4b655 (diff)
libs/sig: fix sig_ops_sin hz floor check
off by one order of magnitude
Diffstat (limited to 'src')
-rw-r--r--src/libs/sig/ops_sin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/sig/ops_sin.c b/src/libs/sig/ops_sin.c
index 17f08cf..87f16da 100644
--- a/src/libs/sig/ops_sin.c
+++ b/src/libs/sig/ops_sin.c
@@ -45,7 +45,7 @@ static float ops_sin_output(void *context, unsigned ticks_ms)
assert(ctxt->hz);
hz = sig_output(ctxt->hz, ticks_ms);
- if (hz < .0001f)
+ if (hz < .001f)
return 0.f;
ms_per_cycle = hz * 1000.f;
© All Rights Reserved