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

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

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/OscillatorNode.h ('k') | Source/modules/webaudio/PannerNode.h » ('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) 2012, Google Inc. All rights reserved. 2 * Copyright (C) 2012, 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 19 matching lines...) Expand all
30 30
31 #include "platform/audio/AudioUtilities.h" 31 #include "platform/audio/AudioUtilities.h"
32 #include "platform/audio/VectorMath.h" 32 #include "platform/audio/VectorMath.h"
33 #include "modules/webaudio/AudioContext.h" 33 #include "modules/webaudio/AudioContext.h"
34 #include "modules/webaudio/AudioNodeOutput.h" 34 #include "modules/webaudio/AudioNodeOutput.h"
35 #include "modules/webaudio/PeriodicWave.h" 35 #include "modules/webaudio/PeriodicWave.h"
36 #include "wtf/MathExtras.h" 36 #include "wtf/MathExtras.h"
37 #include "wtf/StdLibExtras.h" 37 #include "wtf/StdLibExtras.h"
38 #include <algorithm> 38 #include <algorithm>
39 39
40 namespace WebCore { 40 namespace blink {
41 41
42 using namespace VectorMath; 42 using namespace VectorMath;
43 43
44 PassRefPtrWillBeRawPtr<OscillatorNode> OscillatorNode::create(AudioContext* cont ext, float sampleRate) 44 PassRefPtrWillBeRawPtr<OscillatorNode> OscillatorNode::create(AudioContext* cont ext, float sampleRate)
45 { 45 {
46 return adoptRefWillBeNoop(new OscillatorNode(context, sampleRate)); 46 return adoptRefWillBeNoop(new OscillatorNode(context, sampleRate));
47 } 47 }
48 48
49 OscillatorNode::OscillatorNode(AudioContext* context, float sampleRate) 49 OscillatorNode::OscillatorNode(AudioContext* context, float sampleRate)
50 : AudioScheduledSourceNode(context, sampleRate) 50 : AudioScheduledSourceNode(context, sampleRate)
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 } 340 }
341 341
342 void OscillatorNode::trace(Visitor* visitor) 342 void OscillatorNode::trace(Visitor* visitor)
343 { 343 {
344 visitor->trace(m_frequency); 344 visitor->trace(m_frequency);
345 visitor->trace(m_detune); 345 visitor->trace(m_detune);
346 visitor->trace(m_periodicWave); 346 visitor->trace(m_periodicWave);
347 AudioScheduledSourceNode::trace(visitor); 347 AudioScheduledSourceNode::trace(visitor);
348 } 348 }
349 349
350 } // namespace WebCore 350 } // namespace blink
351 351
352 #endif // ENABLE(WEB_AUDIO) 352 #endif // ENABLE(WEB_AUDIO)
OLDNEW
« no previous file with comments | « Source/modules/webaudio/OscillatorNode.h ('k') | Source/modules/webaudio/PannerNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698