summaryrefslogtreecommitdiff
path: root/synth/envelope.h
diff options
context:
space:
mode:
Diffstat (limited to 'synth/envelope.h')
-rw-r--r--synth/envelope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/synth/envelope.h b/synth/envelope.h
index be50fa2..a9bb15b 100644
--- a/synth/envelope.h
+++ b/synth/envelope.h
@@ -35,7 +35,7 @@ class Envelope
bool get_hold() { return hold; }
jack_nframes_t get_attack() { return attack_orig; }
jack_nframes_t get_decay() { return decay_orig; }
- fixed_t get_sustain() { return sustain; }
+ fixed_t get_sustain() { return sustain_orig; }
jack_nframes_t get_release() { return release_orig; }