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

Side by Side Diff: Source/platform/audio/ReverbConvolverStage.cpp

Issue 64643010: Remove duplicated headers from platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « Source/platform/audio/Reverb.cpp ('k') | Source/platform/blob/BlobData.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 18 matching lines...) Expand all
29 #include "config.h" 29 #include "config.h"
30 30
31 #if ENABLE(WEB_AUDIO) 31 #if ENABLE(WEB_AUDIO)
32 32
33 #include "platform/audio/ReverbConvolverStage.h" 33 #include "platform/audio/ReverbConvolverStage.h"
34 34
35 #include "platform/audio/ReverbAccumulationBuffer.h" 35 #include "platform/audio/ReverbAccumulationBuffer.h"
36 #include "platform/audio/ReverbConvolver.h" 36 #include "platform/audio/ReverbConvolver.h"
37 #include "platform/audio/ReverbInputBuffer.h" 37 #include "platform/audio/ReverbInputBuffer.h"
38 #include "platform/audio/VectorMath.h" 38 #include "platform/audio/VectorMath.h"
39 #include "wtf/OwnPtr.h"
40 #include "wtf/PassOwnPtr.h" 39 #include "wtf/PassOwnPtr.h"
41 40
42 namespace WebCore { 41 namespace WebCore {
43 42
44 using namespace VectorMath; 43 using namespace VectorMath;
45 44
46 ReverbConvolverStage::ReverbConvolverStage(const float* impulseResponse, size_t, size_t reverbTotalLatency, size_t stageOffset, size_t stageLength, 45 ReverbConvolverStage::ReverbConvolverStage(const float* impulseResponse, size_t, size_t reverbTotalLatency, size_t stageOffset, size_t stageLength,
47 size_t fftSize, size_t renderPhase, s ize_t renderSliceSize, ReverbAccumulationBuffer* accumulationBuffer, bool direct Mode) 46 size_t fftSize, size_t renderPhase, s ize_t renderSliceSize, ReverbAccumulationBuffer* accumulationBuffer, bool direct Mode)
48 : m_accumulationBuffer(accumulationBuffer) 47 : m_accumulationBuffer(accumulationBuffer)
49 , m_accumulationReadIndex(0) 48 , m_accumulationReadIndex(0)
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 m_directConvolver->reset(); 175 m_directConvolver->reset();
177 m_preDelayBuffer.zero(); 176 m_preDelayBuffer.zero();
178 m_accumulationReadIndex = 0; 177 m_accumulationReadIndex = 0;
179 m_inputReadIndex = 0; 178 m_inputReadIndex = 0;
180 m_framesProcessed = 0; 179 m_framesProcessed = 0;
181 } 180 }
182 181
183 } // namespace WebCore 182 } // namespace WebCore
184 183
185 #endif // ENABLE(WEB_AUDIO) 184 #endif // ENABLE(WEB_AUDIO)
OLDNEW
« no previous file with comments | « Source/platform/audio/Reverb.cpp ('k') | Source/platform/blob/BlobData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698