changeset 660:5db8181ea521

* getNativeRate needs to be virtual!
author Chris Cannam
date Mon, 18 Oct 2010 14:17:02 +0100
parents cd1fa6387cb9
children a4faa1840384
files data/fileio/AudioFileReader.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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