diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/audio/reverb.h')
-rw-r--r-- | chromium/third_party/blink/renderer/platform/audio/reverb.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/chromium/third_party/blink/renderer/platform/audio/reverb.h b/chromium/third_party/blink/renderer/platform/audio/reverb.h index be330787a46..d85d08a7493 100644 --- a/chromium/third_party/blink/renderer/platform/audio/reverb.h +++ b/chromium/third_party/blink/renderer/platform/audio/reverb.h @@ -31,7 +31,6 @@ #include <memory> -#include "base/macros.h" #include "third_party/blink/renderer/platform/audio/reverb_convolver.h" #include "third_party/blink/renderer/platform/wtf/allocator/allocator.h" #include "third_party/blink/renderer/platform/wtf/vector.h" @@ -51,10 +50,12 @@ class PLATFORM_EXPORT Reverb { // not all occur at the same time (very bad when rendering on a real-time // thread). Reverb(AudioBus* impulse_response_buffer, - size_t render_slice_size, - size_t max_fft_size, + unsigned render_slice_size, + unsigned max_fft_size, bool use_background_threads, bool normalize); + Reverb(const Reverb&) = delete; + Reverb& operator=(const Reverb&) = delete; void Process(const AudioBus* source_bus, AudioBus* destination_bus, @@ -66,8 +67,8 @@ class PLATFORM_EXPORT Reverb { private: void Initialize(AudioBus* impulse_response_buffer, - size_t render_slice_size, - size_t max_fft_size, + unsigned render_slice_size, + unsigned max_fft_size, bool use_background_threads, float scale); @@ -80,8 +81,6 @@ class PLATFORM_EXPORT Reverb { // For "True" stereo processing scoped_refptr<AudioBus> temp_buffer_; - - DISALLOW_COPY_AND_ASSIGN(Reverb); }; } // namespace blink |