comparison data/fileio/AudioFileReader.h @ 297:c022976d18e8

* Merge from sv-match-alignment branch (excluding alignment-specific document). - add aggregate wave model (not yet complete enough to be added as a true model in a layer, but there's potential) - add play solo mode - add alignment model -- unused in plain SV - fix two plugin leaks - add m3u playlist support (opens all files at once, potentially hazardous) - fix retrieval of pre-encoded URLs - add ability to resample audio files on import, so as to match rates with other files previously loaded; add preference for same - add preliminary support in transform code for range and rate of transform input - reorganise preferences dialog, move dark-background option to preferences, add option for temporary directory location
author Chris Cannam
date Fri, 28 Sep 2007 13:56:38 +0000
parents 92e8dbde73cd
children 3a6725f285d6
comparison
equal deleted inserted replaced
296:2b6c99b607f1 297:c022976d18e8
31 virtual QString getError() const { return ""; } 31 virtual QString getError() const { return ""; }
32 32
33 size_t getFrameCount() const { return m_frameCount; } 33 size_t getFrameCount() const { return m_frameCount; }
34 size_t getChannelCount() const { return m_channelCount; } 34 size_t getChannelCount() const { return m_channelCount; }
35 size_t getSampleRate() const { return m_sampleRate; } 35 size_t getSampleRate() const { return m_sampleRate; }
36 size_t getNativeRate() const { return m_sampleRate; } // if resampled
36 37
37 /** 38 /**
38 * Return the title of the work in the audio file, if known. This 39 * Return the title of the work in the audio file, if known. This
39 * may be implemented by subclasses that support file tagging. 40 * may be implemented by subclasses that support file tagging.
40 * This is not the same thing as the file name. 41 * This is not the same thing as the file name.