Index: Source/modules/webaudio/AudioDestinationNode.h |
diff --git a/Source/modules/webaudio/AudioDestinationNode.h b/Source/modules/webaudio/AudioDestinationNode.h |
index e870deacaa9a9bbb1489662bf5c5d6b75ff572f1..cb6e820fa46ce4f3485c10a73aa9e22380a60b92 100644 |
--- a/Source/modules/webaudio/AudioDestinationNode.h |
+++ b/Source/modules/webaudio/AudioDestinationNode.h |
@@ -43,12 +43,12 @@ public: |
virtual ~AudioDestinationNode(); |
// AudioNode |
- virtual void dispose() OVERRIDE; |
- virtual void process(size_t) OVERRIDE FINAL { } // we're pulled by hardware so this is never called |
+ virtual void dispose() override; |
+ virtual void process(size_t) override final { } // we're pulled by hardware so this is never called |
// The audio hardware calls render() to get the next render quantum of audio into destinationBus. |
// It will optionally give us local/live audio input in sourceBus (if it's not 0). |
- virtual void render(AudioBus* sourceBus, AudioBus* destinationBus, size_t numberOfFrames) OVERRIDE FINAL; |
+ virtual void render(AudioBus* sourceBus, AudioBus* destinationBus, size_t numberOfFrames) override final; |
size_t currentSampleFrame() const { return m_currentSampleFrame; } |
double currentTime() const { return currentSampleFrame() / static_cast<double>(sampleRate()); } |
@@ -60,7 +60,7 @@ public: |
protected: |
// LocalAudioInputProvider allows us to expose an AudioSourceProvider for local/live audio input. |
// If there is local/live audio input, we call set() with the audio input data every render quantum. |
- class LocalAudioInputProvider FINAL : public AudioSourceProvider { |
+ class LocalAudioInputProvider final : public AudioSourceProvider { |
public: |
LocalAudioInputProvider() |
: m_sourceBus(AudioBus::create(2, AudioNode::ProcessingSizeInFrames)) // FIXME: handle non-stereo local input. |
@@ -74,7 +74,7 @@ protected: |
} |
// AudioSourceProvider. |
- virtual void provideInput(AudioBus* destinationBus, size_t numberOfFrames) OVERRIDE |
+ virtual void provideInput(AudioBus* destinationBus, size_t numberOfFrames) override |
{ |
bool isGood = destinationBus && destinationBus->length() == numberOfFrames && m_sourceBus->length() == numberOfFrames; |
ASSERT(isGood); |
@@ -86,8 +86,8 @@ protected: |
RefPtr<AudioBus> m_sourceBus; |
}; |
- virtual double tailTime() const OVERRIDE FINAL { return 0; } |
- virtual double latencyTime() const OVERRIDE FINAL { return 0; } |
+ virtual double tailTime() const override final { return 0; } |
+ virtual double latencyTime() const override final { return 0; } |
// Counts the number of sample-frames processed by the destination. |
size_t m_currentSampleFrame; |