M bqaudioio/ResamplerWrapper.h +10 -10
@@ 89,24 89,24 @@ public:
// These functions are passed through to the wrapped
// ApplicationPlaybackSource
- virtual std::string getClientName() const;
- virtual int getApplicationSampleRate() const;
- virtual int getApplicationChannelCount() const;
+ std::string getClientName() const override;
+ int getApplicationSampleRate() const override;
+ int getApplicationChannelCount() const override;
- virtual void setSystemPlaybackBlockSize(int);
- virtual void setSystemPlaybackSampleRate(int);
- virtual void setSystemPlaybackChannelCount(int);
- virtual void setSystemPlaybackLatency(int);
+ void setSystemPlaybackBlockSize(int) override;
+ void setSystemPlaybackSampleRate(int) override;
+ void setSystemPlaybackChannelCount(int) override;
+ void setSystemPlaybackLatency(int) override;
- virtual void setOutputLevels(float peakLeft, float peakRight);
- virtual void audioProcessingOverload();
+ void setOutputLevels(float peakLeft, float peakRight) override;
+ void audioProcessingOverload() override;
/**
* Request some samples from the wrapped
* ApplicationPlaybackSource, resample them if necessary, and
* return them to the target
*/
- virtual int getSourceSamples(float *const *samples, int nchannels, int nframes);
+ int getSourceSamples(float *const *samples, int nchannels, int nframes) override;
private:
ApplicationPlaybackSource *m_source;
M src/JACKAudioIO.h +5 -5
@@ 60,13 60,13 @@ public:
static std::vector<std::string> getRecordDeviceNames();
static std::vector<std::string> getPlaybackDeviceNames();
- virtual bool isSourceOK() const;
- virtual bool isTargetOK() const;
+ bool isSourceOK() const override;
+ bool isTargetOK() const override;
- virtual void suspend() {}
- virtual void resume() {}
+ void suspend() override {}
+ void resume() override {}
- virtual double getCurrentTime() const;
+ double getCurrentTime() const override;
std::string getStartupErrorString() const { return m_startupError; }
M src/PulseAudioIO.h +7 -7
@@ 65,15 65,15 @@ public:
static std::vector<std::string> getRecordDeviceNames();
static std::vector<std::string> getPlaybackDeviceNames();
- virtual bool isSourceOK() const;
- virtual bool isSourceReady() const;
- virtual bool isTargetOK() const;
- virtual bool isTargetReady() const;
+ bool isSourceOK() const override;
+ bool isSourceReady() const override;
+ bool isTargetOK() const override;
+ bool isTargetReady() const override;
- virtual double getCurrentTime() const;
+ double getCurrentTime() const override;
- virtual void suspend();
- virtual void resume();
+ void suspend() override;
+ void resume() override;
std::string getStartupErrorString() const { return m_startupError; }