Mercurial > hg > svcore
comparison data/fileio/CodedAudioFileReader.h @ 823:f0558e69a074
Rename Resampling- to DecodingWavFileReader, and use it whenever we have an audio file that is not quickly seekable using libsndfile. Avoids very slow performance when analysing ogg files.
author | Chris Cannam |
---|---|
date | Wed, 17 Jul 2013 15:40:01 +0100 |
parents | babed5be1ae7 |
children | f3cda3280398 59e7fe1b1003 |
comparison
equal
deleted
inserted
replaced
821:06c64a1c6785 | 823:f0558e69a074 |
---|---|
40 | 40 |
41 virtual void getInterleavedFrames(size_t start, size_t count, | 41 virtual void getInterleavedFrames(size_t start, size_t count, |
42 SampleBlock &frames) const; | 42 SampleBlock &frames) const; |
43 | 43 |
44 virtual size_t getNativeRate() const { return m_fileRate; } | 44 virtual size_t getNativeRate() const { return m_fileRate; } |
45 | |
46 /// Intermediate cache means all CodedAudioFileReaders are quickly seekable | |
47 virtual bool isQuicklySeekable() const { return true; } | |
45 | 48 |
46 signals: | 49 signals: |
47 void progress(int); | 50 void progress(int); |
48 | 51 |
49 protected: | 52 protected: |