Mercurial > hg > svcore
diff 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 |
line wrap: on
line diff
--- a/data/fileio/AudioFileReader.h Mon Oct 18 14:14:26 2010 +0100 +++ b/data/fileio/AudioFileReader.h Mon Oct 18 14:17:02 2010 +0100 @@ -39,7 +39,8 @@ size_t getFrameCount() const { return m_frameCount; } size_t getChannelCount() const { return m_channelCount; } size_t getSampleRate() const { return m_sampleRate; } - size_t getNativeRate() const { return m_sampleRate; } // if resampled + + virtual size_t getNativeRate() const { return m_sampleRate; } // if resampled /** * Return the location of the audio data in the reader (as passed