diff options
author | Florian Jung <flo@thinkpad.(none)> | 2011-01-09 17:46:26 +0100 |
---|---|---|
committer | Florian Jung <flo@thinkpad.(none)> | 2011-01-09 17:50:20 +0100 |
commit | 80fdc1e39d864f05f271c8035715ab4c155a2002 (patch) | |
tree | 48115fa8081b9ae9101a8c75163db651a1b02e2d /note_compiler/programs.h | |
parent | 216f7933c5b4b65f7f45d3c459ead10f160d124b (diff) |
Improved note-compiler: optimizing output now works properly
Previously, output was always considered as non-const, even if is was
zero and without any controller-influence, because output had always
pfactor-influence. Now, a pfactor-influenced output which is constant
zero is considered as still constant, because pfactor*0 is always 0.
Diffstat (limited to 'note_compiler/programs.h')
-rw-r--r-- | note_compiler/programs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/note_compiler/programs.h b/note_compiler/programs.h index d7acd61..9025ba1 100644 --- a/note_compiler/programs.h +++ b/note_compiler/programs.h @@ -47,6 +47,7 @@ struct oscillator_t bool *fm_strength_const; fixed_t output; bool output_const; + bool output_no_pfactor; int waveform; bool waveform_const; fixed_t factor; |