Chromium Code Reviews| Index: third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp |
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp |
| index 78eeb8ced6c5b85f712aabcab8f7e35e8b57d497..a5ab262f03642044613c211b45656b1541cf5cdf 100644 |
| --- a/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp |
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp |
| @@ -33,10 +33,8 @@ |
| namespace blink { |
| -AudioDestinationHandler::AudioDestinationHandler(AudioNode& node, |
| - float sampleRate) |
| - : AudioHandler(NodeTypeDestination, node, sampleRate), |
| - m_currentSampleFrame(0) { |
| +AudioDestinationHandler::AudioDestinationHandler(AudioNode& node) |
| + : AudioHandler(NodeTypeDestination, node, 0), m_currentSampleFrame(0) { |
|
hongchan
2016/12/02 17:40:12
So the initial sample rate is zero? Not sure why t
Andrew MacPherson
2016/12/05 14:12:53
I mentioned in an earlier comment to rtoy@ that th
|
| addInput(); |
| } |