Added LADSPA_PATH to ardev_common.sh
[ardour.git] / libs / ardour / ardour / audiosource.h
index 492fc9ac2e88e31f18cc31b78f29ef482af693d2..35158a24e7c1439d041d7e513f8f8a0d4d6369d7 100644 (file)
@@ -51,6 +51,13 @@ class AudioSource : public Source
        AudioSource (const XMLNode&);
        virtual ~AudioSource ();
 
+       /* one could argue that this should belong to Source, but other data types
+          generally do not come with a model of "offset along an audio timeline"
+          so its here in AudioSource for now.
+       */
+
+       virtual jack_nframes_t natural_position() const { return 0; }
+       
        /* returns the number of items in this `audio_source' */
 
        virtual jack_nframes_t length() const {