|
From: <cn...@us...> - 2025-10-15 23:37:53
|
Revision: 1609
http://sourceforge.net/p/seq/svn/1609
Author: cn187
Date: 2025-10-15 23:37:40 +0000 (Wed, 15 Oct 2025)
Log Message:
-----------
Fix load/save of playback speed
Modified Paths:
--------------
showeq/branches/cn187_devel/conf/seqdef.xml
showeq/branches/cn187_devel/src/interface.cpp
Modified: showeq/branches/cn187_devel/conf/seqdef.xml
===================================================================
--- showeq/branches/cn187_devel/conf/seqdef.xml 2025-10-15 23:36:58 UTC (rev 1608)
+++ showeq/branches/cn187_devel/conf/seqdef.xml 2025-10-15 23:37:40 UTC (rev 1609)
@@ -131,8 +131,8 @@
<comment>set to true to playback packets from session in Filename</comment>
</property>
<property name="PlaybackRate" >
- <bool value="false" />
- <comment>Rate to playback; 0 = fast as possible, 1=1x, 2=2x, etc.</comment>
+ <int value="-1" />
+ <comment>Rate to playback; -1=paused, 0 = fast as possible, 1=1x, 2=2x, etc.</comment>
</property>
<property name="FlushPackets" >
<bool value="true" />
Modified: showeq/branches/cn187_devel/src/interface.cpp
===================================================================
--- showeq/branches/cn187_devel/src/interface.cpp 2025-10-15 23:36:58 UTC (rev 1608)
+++ showeq/branches/cn187_devel/src/interface.cpp 2025-10-15 23:37:40 UTC (rev 1609)
@@ -261,8 +261,7 @@
pSEQPrefs->getPrefBool("Record", vpsection, false),
pSEQPrefs->getPrefInt("Playback", vpsection,
PLAYBACK_OFF),
- pSEQPrefs->getPrefInt("PlaybackRate", vpsection,
- false),
+ pSEQPrefs->getPrefInt("PlaybackRate", vpsection, -1),
this, "packet");
ipstr[0] = m_packet->ip(); //Retrieves last IP used in previous session
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|