From 365531fa15408520167c9aedb79d9e4ecc74d51b Mon Sep 17 00:00:00 2001 From: oparviai Date: Sun, 17 Feb 2008 13:15:45 +0000 Subject: [PATCH] Fixed uninitialized tempo variable bug --- source/SoundTouch/TDStretch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/SoundTouch/TDStretch.cpp b/source/SoundTouch/TDStretch.cpp index fa4dc54..111cf3e 100644 --- a/source/SoundTouch/TDStretch.cpp +++ b/source/SoundTouch/TDStretch.cpp @@ -94,8 +94,8 @@ TDStretch::TDStretch() : FIFOProcessor(&outputBuffer) pRefMidBufferUnaligned = NULL; overlapLength = 0; + tempo = 1.0f; setParameters(44100, DEFAULT_SEQUENCE_MS, DEFAULT_SEEKWINDOW_MS, DEFAULT_OVERLAP_MS); - setTempo(1.0f); }