diff options
author | rekado <rekado@elephly.net> | 2013-01-25 18:30:36 +0800 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2013-01-25 18:30:36 +0800 |
commit | 0d06eabed00f6085bf110080ce16f7ace765fb4b (patch) | |
tree | e6cc847297e1a1c33949f3b397a87f5c18e9318e /src | |
parent | 4e3fd1f417861282121ee4f29091373dd672a51a (diff) |
update internal state on render
Diffstat (limited to 'src')
-rw-r--r-- | src/mdaPianoVoice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mdaPianoVoice.cpp b/src/mdaPianoVoice.cpp index 6d8256e..10574f0 100644 --- a/src/mdaPianoVoice.cpp +++ b/src/mdaPianoVoice.cpp @@ -126,6 +126,7 @@ void mdaPianoVoice::render(uint32_t from, uint32_t to) { float x, l, r; uint32_t i; + update(Current); for (uint32_t frame = from; frame < to; ++frame) { // initialize left and right output l = r = 0.0f; |