changeset 135:9750e9c39e94

add getPlaySpeedVal() function
author lbajardsilogic
date Fri, 09 Nov 2007 09:57:22 +0000
parents 71d46ee71f25
children de8bd6cd96c1
files sv/main/MainWindow.cpp sv/main/MainWindow.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sv/main/MainWindow.cpp	Fri Nov 09 09:51:29 2007 +0000
+++ b/sv/main/MainWindow.cpp	Fri Nov 09 09:57:22 2007 +0000
@@ -153,7 +153,8 @@
     m_documentModified(false),
     m_openingAudioFile(false),
     m_abandoning(false),
-    m_preferencesDialog(0)
+    m_preferencesDialog(0),
+	m_playSpeedVal(1)
 {
 
 	m_videoWidget = 0;
@@ -4061,6 +4062,7 @@
 	in the TimeStretchFilter class.
 	The new hopfactor is given by value
 	*/
+	m_playSpeedVal = value;
 
 }
 
--- a/sv/main/MainWindow.h	Fri Nov 09 09:51:29 2007 +0000
+++ b/sv/main/MainWindow.h	Fri Nov 09 09:57:22 2007 +0000
@@ -125,6 +125,7 @@
 
 	QWidget* getVideoWidget();
 
+	float inline getPlaySpeedVal() const { return m_playSpeedVal;}
 
 signals:
     // Used to toggle the availability of menu actions
@@ -512,6 +513,8 @@
 private:
 	void createMultiPaneLayerContainer();
 
+	float m_playSpeedVal;
+
 };