diff plugin/DSSIPluginInstance.h @ 10:ec6886f0e673

* Fix update and play limits for play-selection mode when not looping * Fix playback in loop mode when no selection -- but the GUI update for this is still wrong on the flyback * Various fixes and improvements to making selections, particularly during playback * Draw selection under non-opaque non-scrollable layers, so as to improve cacheing * Show selection limits as text when drawing selection * Allow user to find missing audio files when loading session * Cross-fade selections when in play-selection mode -- mostly. We don't cross-fade on a processing block boundary, and unfortunately with short selections the selection boundary is quite likely to coincide with a block boundary.
author Chris Cannam
date Wed, 25 Jan 2006 17:46:28 +0000
parents d86891498eef
children 2fb933f88604
line wrap: on
line diff
--- a/plugin/DSSIPluginInstance.h	Tue Jan 24 16:20:58 2006 +0000
+++ b/plugin/DSSIPluginInstance.h	Wed Jan 25 17:46:28 2006 +0000
@@ -51,6 +51,7 @@
     virtual QString configure(QString key, QString value);
     virtual void sendEvent(const RealTime &eventTime,
 			   const void *event);
+    virtual void clearEvents();
 
     virtual size_t getBufferSize() const { return m_blockSize; }
     virtual size_t getAudioInputCount() const { return m_audioPortsIn.size(); }
@@ -175,6 +176,9 @@
     bool                      m_grouped;
     RealTime                  m_lastRunTime;
 
+    RealTime                  m_lastEventSendTime;
+    bool                      m_haveLastEventSendTime;
+
     QMutex                    m_processLock;
 
     typedef std::set<DSSIPluginInstance *> PluginSet;