# HG changeset patch # User Chris Cannam # Date 1287407822 -3600 # Node ID 5db8181ea521d7ca633b96d316ad581e5c3d9a28 # Parent cd1fa6387cb9353e6c1dca53beaf1943aa566767 * getNativeRate needs to be virtual! diff -r cd1fa6387cb9 -r 5db8181ea521 data/fileio/AudioFileReader.h --- 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