comparison runner/MultiplexedReader.h @ 258:857ce6ecb163 piper-nopiper

Align Sonic Annotator with the new Piper-ified subrepos (bearing in mind we want neither Piper nor the plugin load checker in Sonic Annotator itself)
author Chris Cannam
date Fri, 04 Nov 2016 14:16:01 +0000
parents 3f7c65f26559
children 6122159556bd
comparison
equal deleted inserted replaced
257:46d3a6461b4a 258:857ce6ecb163
28 public: 28 public:
29 // I take ownership of readers 29 // I take ownership of readers
30 MultiplexedReader(QList<AudioFileReader *> readers); 30 MultiplexedReader(QList<AudioFileReader *> readers);
31 virtual ~MultiplexedReader(); 31 virtual ~MultiplexedReader();
32 32
33 virtual QString getError() const { return m_error; } 33 virtual QString getError() const override { return m_error; }
34 virtual bool isQuicklySeekable() const { return m_quicklySeekable; } 34 virtual bool isQuicklySeekable() const override { return m_quicklySeekable; }
35 35
36 virtual SampleBlock getInterleavedFrames(sv_frame_t start, sv_frame_t count) const; 36 virtual std::vector<float> getInterleavedFrames
37 (sv_frame_t start, sv_frame_t count) const override;
37 38
38 virtual int getDecodeCompletion() const; 39 virtual int getDecodeCompletion() const override;
39 40
40 virtual bool isUpdating() const; 41 virtual bool isUpdating() const override;
41 42
42 protected: 43 protected:
43 QString m_error; 44 QString m_error;
44 bool m_quicklySeekable; 45 bool m_quicklySeekable;
45 QList<AudioFileReader *> m_readers; 46 QList<AudioFileReader *> m_readers;