From 4e2cf2b7d02270154d1edea5dc6c872c4138a8a8 Mon Sep 17 00:00:00 2001 From: John Glover Date: Sun, 23 Jun 2013 16:27:38 +0200 Subject: [residual] Remove unused code in find_residual --- src/simpl/residual.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3