Mercurial > hg > svcore
diff data/fileio/AudioFileReader.h @ 384:6f6ab834449d spectrogram-cache-rejig
* Merge from trunk
author | Chris Cannam |
---|---|
date | Wed, 27 Feb 2008 11:59:42 +0000 |
parents | 1afaf98dbf11 |
children | a4b8ad0f1a8f |
line wrap: on
line diff
--- a/data/fileio/AudioFileReader.h Thu Nov 15 14:03:56 2007 +0000 +++ b/data/fileio/AudioFileReader.h Wed Feb 27 11:59:42 2008 +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