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

Side by Side Diff: Source/modules/webaudio/DynamicsCompressorNode.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/DynamicsCompressorNode.h ('k') | Source/modules/webaudio/GainNode.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) 2011, Google Inc. All rights reserved. 2 * Copyright (C) 2011, 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 18 matching lines...) Expand all
29 #include "modules/webaudio/DynamicsCompressorNode.h" 29 #include "modules/webaudio/DynamicsCompressorNode.h"
30 30
31 #include "platform/audio/DynamicsCompressor.h" 31 #include "platform/audio/DynamicsCompressor.h"
32 #include "modules/webaudio/AudioContext.h" 32 #include "modules/webaudio/AudioContext.h"
33 #include "modules/webaudio/AudioNodeInput.h" 33 #include "modules/webaudio/AudioNodeInput.h"
34 #include "modules/webaudio/AudioNodeOutput.h" 34 #include "modules/webaudio/AudioNodeOutput.h"
35 35
36 // Set output to stereo by default. 36 // Set output to stereo by default.
37 static const unsigned defaultNumberOfOutputChannels = 2; 37 static const unsigned defaultNumberOfOutputChannels = 2;
38 38
39 namespace WebCore { 39 namespace blink {
40 40
41 DynamicsCompressorNode::DynamicsCompressorNode(AudioContext* context, float samp leRate) 41 DynamicsCompressorNode::DynamicsCompressorNode(AudioContext* context, float samp leRate)
42 : AudioNode(context, sampleRate) 42 : AudioNode(context, sampleRate)
43 { 43 {
44 ScriptWrappable::init(this); 44 ScriptWrappable::init(this);
45 addInput(); 45 addInput();
46 addOutput(AudioNodeOutput::create(this, defaultNumberOfOutputChannels)); 46 addOutput(AudioNodeOutput::create(this, defaultNumberOfOutputChannels));
47 47
48 setNodeType(NodeTypeDynamicsCompressor); 48 setNodeType(NodeTypeDynamicsCompressor);
49 49
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 { 117 {
118 visitor->trace(m_threshold); 118 visitor->trace(m_threshold);
119 visitor->trace(m_knee); 119 visitor->trace(m_knee);
120 visitor->trace(m_ratio); 120 visitor->trace(m_ratio);
121 visitor->trace(m_reduction); 121 visitor->trace(m_reduction);
122 visitor->trace(m_attack); 122 visitor->trace(m_attack);
123 visitor->trace(m_release); 123 visitor->trace(m_release);
124 AudioNode::trace(visitor); 124 AudioNode::trace(visitor);
125 } 125 }
126 126
127 } // namespace WebCore 127 } // namespace blink
128 128
129 #endif // ENABLE(WEB_AUDIO) 129 #endif // ENABLE(WEB_AUDIO)
OLDNEW
« no previous file with comments | « Source/modules/webaudio/DynamicsCompressorNode.h ('k') | Source/modules/webaudio/GainNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698