changeset 173:cae8b8519895

re-init hopfactor when new filter
author lbajardsilogic
date Tue, 20 Nov 2007 17:15:32 +0000
parents d8187a044a65
children 61c2aa83e940
files sv/filter/TimeStretchFilter.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sv/filter/TimeStretchFilter.cpp	Tue Nov 20 15:12:33 2007 +0000
+++ b/sv/filter/TimeStretchFilter.cpp	Tue Nov 20 17:15:32 2007 +0000
@@ -97,6 +97,7 @@
 	connect(this, SIGNAL(playSpeedChanged(float)),
 		MainWindow::instance(), SLOT(playSpeedChanged(float)));
 
+	hopfactor = 1;
 	/***************************/
 }
 
@@ -127,6 +128,8 @@
 
 	delete outbuffer;	
 
+	hopfactor = 1;
+
 	emit playSpeedChanged(1);
 
 	/***************************/