diff options
| author | spl3g <spleefer6@yandex.ru> | 2025-10-10 14:20:10 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-10-10 14:20:10 +0300 |
| commit | 599118dc7be359842f06bfdc903d38cf66e8a432 (patch) | |
| tree | df720fe158b17911d8e4e09ab3c3fe98862127ce /src/sounds.h | |
| parent | 145229b9ec9b0f50cdef537f1bae5f09c3198ead (diff) | |
Fix cracking when key is pressed many times
Diffstat (limited to 'src/sounds.h')
| -rw-r--r-- | src/sounds.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
