summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Glover <j@johnglover.net>2013-06-23 16:27:38 +0200
committerJohn Glover <j@johnglover.net>2013-06-23 16:27:38 +0200
commit4e2cf2b7d02270154d1edea5dc6c872c4138a8a8 (patch)
tree8e1e44a68b54a6ab8b4848ee0d658b07f909eb00
parent142eb92a7669debb3748d85e56daa0e83d39464d (diff)
downloadsimpl-4e2cf2b7d02270154d1edea5dc6c872c4138a8a8.tar.gz
simpl-4e2cf2b7d02270154d1edea5dc6c872c4138a8a8.tar.bz2
simpl-4e2cf2b7d02270154d1edea5dc6c872c4138a8a8.zip
[residual] Remove unused code in find_residual
-rw-r--r--src/simpl/residual.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/simpl/residual.cpp b/src/simpl/residual.cpp
index 38448ea..f4f40e1 100644
--- a/src/simpl/residual.cpp
+++ b/src/simpl/residual.cpp
@@ -61,13 +61,6 @@ void Residual::residual_frame(Frame* frame) {
void Residual::find_residual(int synth_size, sample* synth,
int original_size, sample* original,
int residual_size, sample* residual) {
- for(int i = 0; i < synth_size; i += _hop_size) {
- Frame* f = new Frame(_hop_size);
- f->audio(&original[i]);
- f->synth(&synth[i]);
- f->residual(&residual[i]);
- residual_frame(f);
- }
}
void Residual::synth_frame(Frame* frame) {