| OLD | NEW |
| 1 /** | 1 /** |
| 2 * High-fidelity audio programming in the browser. | 2 * High-fidelity audio programming in the browser. |
| 3 */ | 3 */ |
| 4 library dart.dom.web_audio; | 4 library dart.dom.web_audio; |
| 5 | 5 |
| 6 import 'dart:async'; | 6 import 'dart:async'; |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 import 'dart:_internal'; | 8 import 'dart:_internal'; |
| 9 import 'dart:html'; | 9 import 'dart:html'; |
| 10 import 'dart:html_common'; | 10 import 'dart:html_common'; |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 // for details. All rights reserved. Use of this source code is governed by a | 166 // for details. All rights reserved. Use of this source code is governed by a |
| 167 // BSD-style license that can be found in the LICENSE file. | 167 // BSD-style license that can be found in the LICENSE file. |
| 168 | 168 |
| 169 // WARNING: Do not edit - generated code. | 169 // WARNING: Do not edit - generated code. |
| 170 | 170 |
| 171 | 171 |
| 172 @DocsEditable() | 172 @DocsEditable() |
| 173 @DomName('AudioBuffer') | 173 @DomName('AudioBuffer') |
| 174 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section | 174 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section |
| 175 @Experimental() | 175 @Experimental() |
| 176 class AudioBuffer extends NativeFieldWrapperClass2 { | 176 class AudioBuffer extends DartHtmlDomObject { |
| 177 // To suppress missing implicit constructor warnings. | 177 // To suppress missing implicit constructor warnings. |
| 178 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } | 178 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } |
| 179 | 179 |
| 180 static AudioBuffer internalCreateAudioBuffer() { | 180 static AudioBuffer internalCreateAudioBuffer() { |
| 181 return new AudioBuffer._internalWrap(); | 181 return new AudioBuffer._internalWrap(); |
| 182 } | 182 } |
| 183 | 183 |
| 184 js.JsObject blink_jsObject; | |
| 185 | |
| 186 factory AudioBuffer._internalWrap() { | 184 factory AudioBuffer._internalWrap() { |
| 187 return new AudioBuffer.internal_(); | 185 return new AudioBuffer.internal_(); |
| 188 } | 186 } |
| 189 | 187 |
| 190 AudioBuffer.internal_() { } | 188 AudioBuffer.internal_() { } |
| 191 | 189 |
| 192 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 190 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 193 int get hashCode => unwrap_jso(this).hashCode; | 191 int get hashCode => unwrap_jso(this).hashCode; |
| 194 | 192 |
| 195 @DomName('AudioBuffer.duration') | 193 @DomName('AudioBuffer.duration') |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 // for details. All rights reserved. Use of this source code is governed by a | 547 // for details. All rights reserved. Use of this source code is governed by a |
| 550 // BSD-style license that can be found in the LICENSE file. | 548 // BSD-style license that can be found in the LICENSE file. |
| 551 | 549 |
| 552 // WARNING: Do not edit - generated code. | 550 // WARNING: Do not edit - generated code. |
| 553 | 551 |
| 554 | 552 |
| 555 @DocsEditable() | 553 @DocsEditable() |
| 556 @DomName('AudioListener') | 554 @DomName('AudioListener') |
| 557 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section | 555 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section |
| 558 @Experimental() | 556 @Experimental() |
| 559 class AudioListener extends NativeFieldWrapperClass2 { | 557 class AudioListener extends DartHtmlDomObject { |
| 560 // To suppress missing implicit constructor warnings. | 558 // To suppress missing implicit constructor warnings. |
| 561 factory AudioListener._() { throw new UnsupportedError("Not supported"); } | 559 factory AudioListener._() { throw new UnsupportedError("Not supported"); } |
| 562 | 560 |
| 563 static AudioListener internalCreateAudioListener() { | 561 static AudioListener internalCreateAudioListener() { |
| 564 return new AudioListener._internalWrap(); | 562 return new AudioListener._internalWrap(); |
| 565 } | 563 } |
| 566 | 564 |
| 567 js.JsObject blink_jsObject; | |
| 568 | |
| 569 factory AudioListener._internalWrap() { | 565 factory AudioListener._internalWrap() { |
| 570 return new AudioListener.internal_(); | 566 return new AudioListener.internal_(); |
| 571 } | 567 } |
| 572 | 568 |
| 573 AudioListener.internal_() { } | 569 AudioListener.internal_() { } |
| 574 | 570 |
| 575 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 571 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 576 int get hashCode => unwrap_jso(this).hashCode; | 572 int get hashCode => unwrap_jso(this).hashCode; |
| 577 | 573 |
| 578 @DomName('AudioListener.dopplerFactor') | 574 @DomName('AudioListener.dopplerFactor') |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 // for details. All rights reserved. Use of this source code is governed by a | 688 // for details. All rights reserved. Use of this source code is governed by a |
| 693 // BSD-style license that can be found in the LICENSE file. | 689 // BSD-style license that can be found in the LICENSE file. |
| 694 | 690 |
| 695 // WARNING: Do not edit - generated code. | 691 // WARNING: Do not edit - generated code. |
| 696 | 692 |
| 697 | 693 |
| 698 @DocsEditable() | 694 @DocsEditable() |
| 699 @DomName('AudioParam') | 695 @DomName('AudioParam') |
| 700 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa
ram | 696 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa
ram |
| 701 @Experimental() | 697 @Experimental() |
| 702 class AudioParam extends NativeFieldWrapperClass2 { | 698 class AudioParam extends DartHtmlDomObject { |
| 703 // To suppress missing implicit constructor warnings. | 699 // To suppress missing implicit constructor warnings. |
| 704 factory AudioParam._() { throw new UnsupportedError("Not supported"); } | 700 factory AudioParam._() { throw new UnsupportedError("Not supported"); } |
| 705 | 701 |
| 706 static AudioParam internalCreateAudioParam() { | 702 static AudioParam internalCreateAudioParam() { |
| 707 return new AudioParam._internalWrap(); | 703 return new AudioParam._internalWrap(); |
| 708 } | 704 } |
| 709 | 705 |
| 710 js.JsObject blink_jsObject; | |
| 711 | |
| 712 factory AudioParam._internalWrap() { | 706 factory AudioParam._internalWrap() { |
| 713 return new AudioParam.internal_(); | 707 return new AudioParam.internal_(); |
| 714 } | 708 } |
| 715 | 709 |
| 716 AudioParam.internal_() { } | 710 AudioParam.internal_() { } |
| 717 | 711 |
| 718 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 712 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 719 int get hashCode => unwrap_jso(this).hashCode; | 713 int get hashCode => unwrap_jso(this).hashCode; |
| 720 | 714 |
| 721 @DomName('AudioParam.defaultValue') | 715 @DomName('AudioParam.defaultValue') |
| (...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1458 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1452 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1459 // for details. All rights reserved. Use of this source code is governed by a | 1453 // for details. All rights reserved. Use of this source code is governed by a |
| 1460 // BSD-style license that can be found in the LICENSE file. | 1454 // BSD-style license that can be found in the LICENSE file. |
| 1461 | 1455 |
| 1462 // WARNING: Do not edit - generated code. | 1456 // WARNING: Do not edit - generated code. |
| 1463 | 1457 |
| 1464 | 1458 |
| 1465 @DocsEditable() | 1459 @DocsEditable() |
| 1466 @DomName('PeriodicWave') | 1460 @DomName('PeriodicWave') |
| 1467 @Experimental() // untriaged | 1461 @Experimental() // untriaged |
| 1468 class PeriodicWave extends NativeFieldWrapperClass2 { | 1462 class PeriodicWave extends DartHtmlDomObject { |
| 1469 // To suppress missing implicit constructor warnings. | 1463 // To suppress missing implicit constructor warnings. |
| 1470 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } | 1464 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } |
| 1471 | 1465 |
| 1472 static PeriodicWave internalCreatePeriodicWave() { | 1466 static PeriodicWave internalCreatePeriodicWave() { |
| 1473 return new PeriodicWave._internalWrap(); | 1467 return new PeriodicWave._internalWrap(); |
| 1474 } | 1468 } |
| 1475 | 1469 |
| 1476 js.JsObject blink_jsObject; | |
| 1477 | |
| 1478 factory PeriodicWave._internalWrap() { | 1470 factory PeriodicWave._internalWrap() { |
| 1479 return new PeriodicWave.internal_(); | 1471 return new PeriodicWave.internal_(); |
| 1480 } | 1472 } |
| 1481 | 1473 |
| 1482 PeriodicWave.internal_() { } | 1474 PeriodicWave.internal_() { } |
| 1483 | 1475 |
| 1484 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1476 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1485 int get hashCode => unwrap_jso(this).hashCode; | 1477 int get hashCode => unwrap_jso(this).hashCode; |
| 1486 | 1478 |
| 1487 } | 1479 } |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1583 | 1575 |
| 1584 @DomName('WaveShaperNode.oversample') | 1576 @DomName('WaveShaperNode.oversample') |
| 1585 @DocsEditable() | 1577 @DocsEditable() |
| 1586 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(unwrap_jso(this)); | 1578 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(unwrap_jso(this)); |
| 1587 | 1579 |
| 1588 @DomName('WaveShaperNode.oversample') | 1580 @DomName('WaveShaperNode.oversample') |
| 1589 @DocsEditable() | 1581 @DocsEditable() |
| 1590 set oversample(String value) => _blink.BlinkWaveShaperNode.instance.oversample
_Setter_(unwrap_jso(this), value); | 1582 set oversample(String value) => _blink.BlinkWaveShaperNode.instance.oversample
_Setter_(unwrap_jso(this), value); |
| 1591 | 1583 |
| 1592 } | 1584 } |
| OLD | NEW |