Mercurial > hg > svcore
comparison data/fileio/CodedAudioFileReader.h @ 1580:c01cbe41aeb5 fix-static-analysis
Use override throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 13:48:45 +0000 |
parents | 1c9bbbb6116a |
children | 14747f24ad04 |
comparison
equal
deleted
inserted
replaced
1579:232d6ddf257d | 1580:c01cbe41aeb5 |
---|---|
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: |