comparison data/fileio/AudioFileReader.h @ 660:5db8181ea521

* getNativeRate needs to be virtual!
author Chris Cannam
date Mon, 18 Oct 2010 14:17:02 +0100
parents a4b8ad0f1a8f
children f0558e69a074
comparison
equal deleted inserted replaced
659:cd1fa6387cb9 660:5db8181ea521
37 virtual QString getError() const { return ""; } 37 virtual QString getError() const { return ""; }
38 38
39 size_t getFrameCount() const { return m_frameCount; } 39 size_t getFrameCount() const { return m_frameCount; }
40 size_t getChannelCount() const { return m_channelCount; } 40 size_t getChannelCount() const { return m_channelCount; }
41 size_t getSampleRate() const { return m_sampleRate; } 41 size_t getSampleRate() const { return m_sampleRate; }
42 size_t getNativeRate() const { return m_sampleRate; } // if resampled 42
43 virtual size_t getNativeRate() const { return m_sampleRate; } // if resampled
43 44
44 /** 45 /**
45 * Return the location of the audio data in the reader (as passed 46 * Return the location of the audio data in the reader (as passed
46 * in to the FileSource constructor, for example). 47 * in to the FileSource constructor, for example).
47 */ 48 */