From 59b276edf6cd3d53fab1d45819a34ef1627e3389 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 3 Feb 2020 15:59:56 -0800 Subject: libs/sig: add sig_ops_scale w/test example This assumes the input value is always 0-1, but may be used to produce values in any signed range, mapped linearly to the input. --- src/libs/sig/sig.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libs/sig/sig.h') diff --git a/src/libs/sig/sig.h b/src/libs/sig/sig.h index 3456af9..b54bfb7 100644 --- a/src/libs/sig/sig.h +++ b/src/libs/sig/sig.h @@ -38,5 +38,6 @@ extern sig_ops_t sig_ops_min; extern sig_ops_t sig_ops_mult; extern sig_ops_t sig_ops_pow; extern sig_ops_t sig_ops_round; +extern sig_ops_t sig_ops_scale; #endif -- cgit v1.2.3