diff data/fileio/AudioFileReader.h @ 345:700cd3350391

* Improvements to layer summary dialog (LayerTree, LayerTreeDialog), & rename. It's still rather unstable though.
author Chris Cannam
date Wed, 28 Nov 2007 17:45:37 +0000
parents 1afaf98dbf11
children a4b8ad0f1a8f
line wrap: on
line diff
--- a/data/fileio/AudioFileReader.h	Wed Nov 28 13:20:40 2007 +0000
+++ b/data/fileio/AudioFileReader.h	Wed Nov 28 17:45:37 2007 +0000
@@ -39,6 +39,12 @@
     size_t getChannelCount() const { return m_channelCount; }
     size_t getSampleRate() const { return m_sampleRate; }
     size_t getNativeRate() const { return m_sampleRate; } // if resampled
+
+    /**
+     * Return the location of the audio data in the reader (as passed
+     * in to the FileSource constructor, for example).
+     */
+    virtual QString getLocation() const { return ""; }
     
     /**
      * Return the title of the work in the audio file, if known.  This