From 599118dc7be359842f06bfdc903d38cf66e8a432 Mon Sep 17 00:00:00 2001 From: spl3g Date: Fri, 10 Oct 2025 14:20:10 +0300 Subject: Fix cracking when key is pressed many times --- src/sounds.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sounds.h') diff --git a/src/sounds.h b/src/sounds.h index 49386ce..61346c6 100644 --- a/src/sounds.h +++ b/src/sounds.h @@ -93,7 +93,8 @@ typedef struct { typedef struct { envelope_state state; int counter; - float current_value; + float current_inc; + float release_value; envelope_params params; } envelope; -- cgit v1.2.3