diff options
author | John Glover <j@johnglover.net> | 2013-06-21 13:01:18 +0200 |
---|---|---|
committer | John Glover <j@johnglover.net> | 2013-06-21 13:01:18 +0200 |
commit | acfa96cb1f22aab00a3ec310a93b40f0adf3fe35 (patch) | |
tree | bf41a3255368aab4b71337c3848a60670f76d748 /src | |
parent | 17da8d1a81e06c6e7a941b647354467fa47b4961 (diff) | |
download | simpl-acfa96cb1f22aab00a3ec310a93b40f0adf3fe35.tar.gz simpl-acfa96cb1f22aab00a3ec310a93b40f0adf3fe35.tar.bz2 simpl-acfa96cb1f22aab00a3ec310a93b40f0adf3fe35.zip |
[sndobj] bug fix: loop over synthesis _hop_size instead of _frame_size
Diffstat (limited to 'src')
-rw-r--r-- | src/simpl/synthesis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simpl/synthesis.cpp b/src/simpl/synthesis.cpp index d4f7b7e..06d5c03 100644 --- a/src/simpl/synthesis.cpp +++ b/src/simpl/synthesis.cpp @@ -363,7 +363,7 @@ void SndObjSynthesis::synth_frame(Frame* frame) { _synth->DoProcess(); - for(int i = 0; i < _frame_size; i++) { + for(int i = 0; i < _hop_size; i++) { frame->synth()[i] = _synth->Output(i); } } |