Mercurial > hg > svcore
comparison data/fileio/CodedAudioFileReader.h @ 1599:ce185d4dd408 bqaudiostream
Merge from default branch
author | Chris Cannam |
---|---|
date | Wed, 23 Jan 2019 14:43:43 +0000 |
parents | c01cbe41aeb5 |
children | 14747f24ad04 |
comparison
equal
deleted
inserted
replaced
1598:d2555df635ec | 1599:ce185d4dd408 |
---|---|
50 enum DecodeMode { | 50 enum DecodeMode { |
51 DecodeAtOnce, // decode the file on construction, with progress | 51 DecodeAtOnce, // decode the file on construction, with progress |
52 DecodeThreaded // decode in a background thread after construction | 52 DecodeThreaded // decode in a background thread after construction |
53 }; | 53 }; |
54 | 54 |
55 virtual floatvec_t getInterleavedFrames(sv_frame_t start, sv_frame_t count) const; | 55 floatvec_t getInterleavedFrames(sv_frame_t start, sv_frame_t count) const override; |
56 | 56 |
57 virtual sv_samplerate_t getNativeRate() const { return m_fileRate; } | 57 sv_samplerate_t getNativeRate() const override { return m_fileRate; } |
58 | 58 |
59 virtual QString getLocalFilename() const { return m_cacheFileName; } | 59 QString getLocalFilename() const override { return m_cacheFileName; } |
60 | 60 |
61 /// Intermediate cache means all CodedAudioFileReaders are quickly seekable | 61 /// Intermediate cache means all CodedAudioFileReaders are quickly seekable |
62 virtual bool isQuicklySeekable() const { return true; } | 62 bool isQuicklySeekable() const override { return true; } |
63 | 63 |
64 signals: | 64 signals: |
65 void progress(int); | 65 void progress(int); |
66 | 66 |
67 protected: | 67 protected: |