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

Side by Side Diff: sdk/lib/web_audio/dart2js/web_audio_dart2js.dart

Issue 2872023006: web_audio: rename OfflineAudioContext.suspend (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | sdk/lib/web_audio/dartium/web_audio_dartium.dart » ('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 * 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 907 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 static OfflineAudioContext _create_1( 918 static OfflineAudioContext _create_1(
919 numberOfChannels, numberOfFrames, sampleRate) => 919 numberOfChannels, numberOfFrames, sampleRate) =>
920 JS('OfflineAudioContext', 'new OfflineAudioContext(#,#,#)', 920 JS('OfflineAudioContext', 'new OfflineAudioContext(#,#,#)',
921 numberOfChannels, numberOfFrames, sampleRate); 921 numberOfChannels, numberOfFrames, sampleRate);
922 922
923 @DomName('OfflineAudioContext.startRendering') 923 @DomName('OfflineAudioContext.startRendering')
924 @DocsEditable() 924 @DocsEditable()
925 @Experimental() // untriaged 925 @Experimental() // untriaged
926 Future startRendering() native; 926 Future startRendering() native;
927 927
928 @JSName('suspend')
928 @DomName('OfflineAudioContext.suspend') 929 @DomName('OfflineAudioContext.suspend')
929 @DocsEditable() 930 @DocsEditable()
930 @Experimental() // untriaged 931 @Experimental() // untriaged
931 Future suspend(num suspendTime) native; 932 Future suspendFor(num suspendTime) native;
932 } 933 }
933 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 934 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
934 // for details. All rights reserved. Use of this source code is governed by a 935 // for details. All rights reserved. Use of this source code is governed by a
935 // BSD-style license that can be found in the LICENSE file. 936 // BSD-style license that can be found in the LICENSE file.
936 937
937 @DocsEditable() 938 @DocsEditable()
938 @DomName('OscillatorNode') 939 @DomName('OscillatorNode')
939 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc illatorNode 940 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc illatorNode
940 @Experimental() 941 @Experimental()
941 @Native("OscillatorNode,Oscillator") 942 @Native("OscillatorNode,Oscillator")
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 } 1147 }
1147 1148
1148 @DomName('WaveShaperNode.curve') 1149 @DomName('WaveShaperNode.curve')
1149 @DocsEditable() 1150 @DocsEditable()
1150 Float32List curve; 1151 Float32List curve;
1151 1152
1152 @DomName('WaveShaperNode.oversample') 1153 @DomName('WaveShaperNode.oversample')
1153 @DocsEditable() 1154 @DocsEditable()
1154 String oversample; 1155 String oversample;
1155 } 1156 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/web_audio/dartium/web_audio_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698