Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(502)

Side by Side Diff: third_party/WebKit/Source/platform/audio/Spatializer.h

Issue 1557363002: Remove the WEB_AUDIO compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef Spatializer_h 5 #ifndef Spatializer_h
6 #define Spatializer_h 6 #define Spatializer_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 #include "wtf/Noncopyable.h" 10 #include "wtf/Noncopyable.h"
11 #include "wtf/PassOwnPtr.h" 11 #include "wtf/PassOwnPtr.h"
12 12
13 #if ENABLE(WEB_AUDIO)
14
15 namespace blink { 13 namespace blink {
16 14
17 class AudioBus; 15 class AudioBus;
18 16
19 // Abstract base class for spatializing a mono or stereo source. 17 // Abstract base class for spatializing a mono or stereo source.
20 class PLATFORM_EXPORT Spatializer { 18 class PLATFORM_EXPORT Spatializer {
21 USING_FAST_MALLOC(Spatializer); 19 USING_FAST_MALLOC(Spatializer);
22 WTF_MAKE_NONCOPYABLE(Spatializer); 20 WTF_MAKE_NONCOPYABLE(Spatializer);
23 public: 21 public:
24 enum { 22 enum {
(...skipping 17 matching lines...) Expand all
42 virtual void reset() = 0; 40 virtual void reset() = 0;
43 virtual double tailTime() const = 0; 41 virtual double tailTime() const = 0;
44 virtual double latencyTime() const = 0; 42 virtual double latencyTime() const = 0;
45 43
46 protected: 44 protected:
47 explicit Spatializer(PanningModel model) { } 45 explicit Spatializer(PanningModel model) { }
48 }; 46 };
49 47
50 } // namespace blink 48 } // namespace blink
51 49
52 #endif // ENABLE(WEB_AUDIO)
53
54 #endif // Spatializer_h 50 #endif // Spatializer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/audio/SincResampler.cpp ('k') | third_party/WebKit/Source/platform/audio/Spatializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698