From 626486a3916b5276dc6b5b6c8b63db87e73278d2 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Thu, 28 Mar 2013 15:38:55 +0000 Subject: Remove superflous includes, comment out debug code --- timestretch.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/timestretch.c b/timestretch.c index 8baa7c8..14ed732 100644 --- a/timestretch.c +++ b/timestretch.c @@ -2,8 +2,6 @@ #include #include #include -#include -#include #include #include #include @@ -84,7 +82,7 @@ static unsigned int find_corr_max(const short *input, const short *mixbuf) { } } -printf( "%03d %016llX\n", offs, corr_max ); +//printf( "%03d %016llX\n", offs, corr_max ); return offs; } @@ -101,7 +99,7 @@ size_t process_frame( short *input, short *output, short *overlap ) { } else { offset = find_corr_max( input, overlap ); - // Mix end of last frame with begin of this frame + // Cross fade end of last frame with begin of this frame for (i = 0; i < (int)g_overlap ; ++i, --i_ ) output[i] = ( i_ * overlap[i] + i * input[i+offset] ) / (int)g_overlap; -- cgit v1.2.3