diff audioio/AudioCallbackPlaySource.h @ 94:9cc9862333bd sv1-v1.2pre4

* a hack to try to prevent playback pointer bouncing back when playback starts
author Chris Cannam
date Mon, 11 Feb 2008 17:08:59 +0000
parents 737b373246b5
children 8591a0a3d57e
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.h	Mon Feb 11 12:46:39 2008 +0000
+++ b/audioio/AudioCallbackPlaySource.h	Mon Feb 11 17:08:59 2008 +0000
@@ -297,6 +297,9 @@
     RealTimePluginInstance           *m_auditioningPlugin;
     bool                              m_auditioningPluginBypassed;
     Scavenger<RealTimePluginInstance> m_pluginScavenger;
+    size_t                            m_playStartFrame;
+    bool                              m_playStartFramePassed;
+    RealTime                          m_playStartedAt;
 
     RingBuffer<float> *getWriteRingBuffer(size_t c) {
 	if (m_writeBuffers && c < m_writeBuffers->size()) {