comparison 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
comparison
equal deleted inserted replaced
344:277006c62fea 345:700cd3350391
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.