changeset 455:1ab4ac6b2fcb

Merge
author Chris Cannam
date Thu, 21 May 2015 15:32:18 +0100
parents 3e2a2ca24d90 (diff) 549f77216048 (current diff)
children 8125b8cb8128
files
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.cpp	Wed May 06 13:30:43 2015 +0100
+++ b/audioio/AudioCallbackPlaySource.cpp	Thu May 21 15:32:18 2015 +0100
@@ -422,6 +422,9 @@
         SVDEBUG << startFrame << endl;
 
     } else {
+        if (startFrame < 0) {
+            startFrame = 0;
+        }
 	if (startFrame >= m_lastModelEndFrame) {
 	    startFrame = 0;
 	}