Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
337:a6fab10ff9e6 | 384:6f6ab834449d |
---|---|
37 | 37 |
38 size_t getFrameCount() const { return m_frameCount; } | 38 size_t getFrameCount() const { return m_frameCount; } |
39 size_t getChannelCount() const { return m_channelCount; } | 39 size_t getChannelCount() const { return m_channelCount; } |
40 size_t getSampleRate() const { return m_sampleRate; } | 40 size_t getSampleRate() const { return m_sampleRate; } |
41 size_t getNativeRate() const { return m_sampleRate; } // if resampled | 41 size_t getNativeRate() const { return m_sampleRate; } // if resampled |
42 | |
43 /** | |
44 * Return the location of the audio data in the reader (as passed | |
45 * in to the FileSource constructor, for example). | |
46 */ | |
47 virtual QString getLocation() const { return ""; } | |
42 | 48 |
43 /** | 49 /** |
44 * Return the title of the work in the audio file, if known. This | 50 * Return the title of the work in the audio file, if known. This |
45 * may be implemented by subclasses that support file tagging. | 51 * may be implemented by subclasses that support file tagging. |
46 * This is not the same thing as the file name. | 52 * This is not the same thing as the file name. |