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

Side by Side Diff: Source/modules/webaudio/AudioParam.cpp

Issue 25494003: Move geometry classes from core/platform/graphics to platform/geometry (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/webaudio/AudioListener.h ('k') | Source/modules/webaudio/AudioParamTimeline.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 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #include "config.h" 26 #include "config.h"
27 27
28 #if ENABLE(WEB_AUDIO) 28 #if ENABLE(WEB_AUDIO)
29 29
30 #include "modules/webaudio/AudioParam.h" 30 #include "modules/webaudio/AudioParam.h"
31 31
32 #include "core/platform/FloatConversion.h"
33 #include "core/platform/audio/AudioUtilities.h" 32 #include "core/platform/audio/AudioUtilities.h"
34 #include "modules/webaudio/AudioNode.h" 33 #include "modules/webaudio/AudioNode.h"
35 #include "modules/webaudio/AudioNodeOutput.h" 34 #include "modules/webaudio/AudioNodeOutput.h"
35 #include "platform/FloatConversion.h"
36 #include "wtf/MathExtras.h" 36 #include "wtf/MathExtras.h"
37 37
38 namespace WebCore { 38 namespace WebCore {
39 39
40 const double AudioParam::DefaultSmoothingConstant = 0.05; 40 const double AudioParam::DefaultSmoothingConstant = 0.05;
41 const double AudioParam::SnapThreshold = 0.001; 41 const double AudioParam::SnapThreshold = 0.001;
42 42
43 float AudioParam::value() 43 float AudioParam::value()
44 { 44 {
45 // Update value for timeline. 45 // Update value for timeline.
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 if (m_outputs.contains(output)) { 191 if (m_outputs.contains(output)) {
192 m_outputs.remove(output); 192 m_outputs.remove(output);
193 changedOutputs(); 193 changedOutputs();
194 output->removeParam(this); 194 output->removeParam(this);
195 } 195 }
196 } 196 }
197 197
198 } // namespace WebCore 198 } // namespace WebCore
199 199
200 #endif // ENABLE(WEB_AUDIO) 200 #endif // ENABLE(WEB_AUDIO)
OLDNEW
« no previous file with comments | « Source/modules/webaudio/AudioListener.h ('k') | Source/modules/webaudio/AudioParamTimeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698