| Index: sdk/lib/web_audio/dartium/web_audio_dartium.dart
|
| diff --git a/sdk/lib/web_audio/dartium/web_audio_dartium.dart b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
|
| index 9ec6680f49b824679720249ae7dc7d09f2ee21eb..384137e7f018c28d0668313bc145feefb65c8fd5 100644
|
| --- a/sdk/lib/web_audio/dartium/web_audio_dartium.dart
|
| +++ b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
|
| @@ -1117,18 +1117,23 @@ class ScriptProcessorNode extends AudioNode {
|
| controller.add(audioData);
|
| }
|
| };
|
| - // TODO(podivilov): Implement on Dartium.
|
| -
|
| + _setEventListener(callback);
|
| _eventStream = controller.stream;
|
| }
|
| return _eventStream;
|
| }
|
| +
|
| +
|
| ScriptProcessorNode.internal() : super.internal();
|
|
|
| @DomName('ScriptProcessorNode.bufferSize')
|
| @DocsEditable
|
| int get bufferSize native "ScriptProcessorNode_bufferSize_Getter";
|
|
|
| + @DomName('ScriptProcessorNode._setEventListener')
|
| + @DocsEditable
|
| + void _setEventListener(EventListener eventListener) native "ScriptProcessorNode__setEventListener_Callback";
|
| +
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
|
|