diff audioio/AudioCallbackPlaySource.h @ 116:99d65ba33c88

* More useful status bar text -- show the current play time and the extents of the visible area * Add update-i18n.sh to update the i18n/ts and qm files -- I can't get qmake to do the right thing now that the project file has been split up into several project files * Fix missing Q_OBJECTs, etc, reported by lupdate * Update Russian translation from AlexandrE
author Chris Cannam
date Wed, 07 Mar 2007 17:07:02 +0000
parents bedc7517b6e8
children b4110b17bca8
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.h	Mon Mar 05 15:32:55 2007 +0000
+++ b/audioio/AudioCallbackPlaySource.h	Wed Mar 07 17:07:02 2007 +0000
@@ -97,6 +97,11 @@
     virtual size_t getCurrentPlayingFrame();
 
     /**
+     * Return the frame at which playback is expected to end (if not looping).
+     */
+    virtual size_t getPlayEndFrame() { return m_lastModelEndFrame; }
+
+    /**
      * Set the block size of the target audio device.  This should
      * be called by the target class.
      */