| Index: sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| diff --git a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| index 13d8b3645d7625c5fcef55be734e8ccd5602da34..b4a8ec8778e5138b8db77e8a1d941d751a5858e1 100644
|
| --- a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| +++ b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| @@ -4,7 +4,7 @@ import 'dart:async';
|
| import 'dart:collection';
|
| import 'dart:html';
|
| import 'dart:html_common';
|
| -import 'dart:_js_helper' show Creates, Returns;
|
| +import 'dart:_js_helper' show Creates, Returns, convertDartClosureToJS;
|
| import 'dart:_foreign_helper' show JS;
|
| // DO NOT EDIT - unless you are editing documentation as per:
|
| // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
|
| @@ -813,19 +813,24 @@ class PannerNode extends AudioNode native "*PannerNode" {
|
| @DocsEditable
|
| void setVelocity(num x, num y, num z) native;
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -@DocsEditable
|
| @DomName('ScriptProcessorNode')
|
| -class ScriptProcessorNode extends AudioNode implements EventTarget native "*ScriptProcessorNode" {
|
| +class ScriptProcessorNode extends AudioNode native "*ScriptProcessorNode" {
|
| + void set onAudioProcess(EventListener listener) {
|
| + JS('void', '#.onaudioprocess = #', this,
|
| + convertDartClosureToJS(listener, 1));
|
| + }
|
|
|
| @DomName('ScriptProcessorNode.bufferSize')
|
| @DocsEditable
|
| final int bufferSize;
|
| +
|
| }
|
| +
|
| // 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
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|