From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/Modules/webaudio/ChannelSplitterNode.h | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'Source/WebCore/Modules/webaudio/ChannelSplitterNode.h') diff --git a/Source/WebCore/Modules/webaudio/ChannelSplitterNode.h b/Source/WebCore/Modules/webaudio/ChannelSplitterNode.h index 9d07279e2..acddc6c70 100644 --- a/Source/WebCore/Modules/webaudio/ChannelSplitterNode.h +++ b/Source/WebCore/Modules/webaudio/ChannelSplitterNode.h @@ -22,11 +22,9 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef ChannelSplitterNode_h -#define ChannelSplitterNode_h +#pragma once #include "AudioNode.h" -#include namespace WebCore { @@ -34,19 +32,17 @@ class AudioContext; class ChannelSplitterNode : public AudioNode { public: - static PassRefPtr create(AudioContext*, float sampleRate, unsigned numberOfOutputs); + static RefPtr create(AudioContext&, float sampleRate, unsigned numberOfOutputs); // AudioNode - virtual void process(size_t framesToProcess) override; - virtual void reset() override; + void process(size_t framesToProcess) override; + void reset() override; private: - virtual double tailTime() const override { return 0; } - virtual double latencyTime() const override { return 0; } + double tailTime() const override { return 0; } + double latencyTime() const override { return 0; } - ChannelSplitterNode(AudioContext*, float sampleRate, unsigned numberOfOutputs); + ChannelSplitterNode(AudioContext&, float sampleRate, unsigned numberOfOutputs); }; } // namespace WebCore - -#endif // ChannelSplitterNode_h -- cgit v1.2.1