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

Side by Side Diff: third_party/WebKit/Source/platform/audio/Reverb.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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 16 matching lines...) Expand all
27 */ 27 */
28 28
29 #ifndef Reverb_h 29 #ifndef Reverb_h
30 #define Reverb_h 30 #define Reverb_h
31 31
32 #include "platform/audio/ReverbConvolver.h" 32 #include "platform/audio/ReverbConvolver.h"
33 #include "wtf/Allocator.h" 33 #include "wtf/Allocator.h"
34 #include "wtf/Noncopyable.h" 34 #include "wtf/Noncopyable.h"
35 #include "wtf/Vector.h" 35 #include "wtf/Vector.h"
36 36
37 #if ENABLE(WEB_AUDIO)
38
39 namespace blink { 37 namespace blink {
40 38
41 class AudioBus; 39 class AudioBus;
42 40
43 // Multi-channel convolution reverb with channel matrixing - one or more ReverbC onvolver objects are used internally. 41 // Multi-channel convolution reverb with channel matrixing - one or more ReverbC onvolver objects are used internally.
44 42
45 class PLATFORM_EXPORT Reverb { 43 class PLATFORM_EXPORT Reverb {
46 USING_FAST_MALLOC(Reverb); 44 USING_FAST_MALLOC(Reverb);
47 WTF_MAKE_NONCOPYABLE(Reverb); 45 WTF_MAKE_NONCOPYABLE(Reverb);
48 public: 46 public:
(...skipping 14 matching lines...) Expand all
63 size_t m_impulseResponseLength; 61 size_t m_impulseResponseLength;
64 62
65 Vector<OwnPtr<ReverbConvolver>> m_convolvers; 63 Vector<OwnPtr<ReverbConvolver>> m_convolvers;
66 64
67 // For "True" stereo processing 65 // For "True" stereo processing
68 RefPtr<AudioBus> m_tempBuffer; 66 RefPtr<AudioBus> m_tempBuffer;
69 }; 67 };
70 68
71 } // namespace blink 69 } // namespace blink
72 70
73 #endif // ENABLE(WEB_AUDIO)
74
75 #endif // Reverb_h 71 #endif // Reverb_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/audio/Panner.cpp ('k') | third_party/WebKit/Source/platform/audio/Reverb.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698