mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +00:00
Bug 1493443 [wpt PR 13170] - Update interfaces/webaudio.idl, a=testonly
Automatic update from web-platform-testsUpdate interfaces/webaudio.idl (#13170) Source: https://github.com/tidoust/reffy-reports/blob/c1b283c/whatwg/idl/webaudio.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/431787852 -- wpt-commits: b17c53f398ac20d4ab4f023a31d465c9f4756a05 wpt-pr: 13170
This commit is contained in:
parent
9e157c27ca
commit
73ab34187f
@ -48,7 +48,6 @@ interface BaseAudioContext : EventTarget {
|
||||
Promise<AudioBuffer> decodeAudioData (ArrayBuffer audioData,
|
||||
optional DecodeSuccessCallback? successCallback,
|
||||
optional DecodeErrorCallback? errorCallback);
|
||||
Promise<void> resume ();
|
||||
};
|
||||
|
||||
enum AudioContextLatencyCategory {
|
||||
@ -63,6 +62,7 @@ interface AudioContext : BaseAudioContext {
|
||||
readonly attribute double baseLatency;
|
||||
readonly attribute double outputLatency;
|
||||
AudioTimestamp getOutputTimestamp ();
|
||||
Promise<void> resume ();
|
||||
Promise<void> suspend ();
|
||||
Promise<void> close ();
|
||||
MediaElementAudioSourceNode createMediaElementSource (HTMLMediaElement mediaElement);
|
||||
@ -86,6 +86,7 @@ dictionary AudioTimestamp {
|
||||
Constructor (unsigned long numberOfChannels, unsigned long length, float sampleRate)]
|
||||
interface OfflineAudioContext : BaseAudioContext {
|
||||
Promise<AudioBuffer> startRendering();
|
||||
Promise<void> resume();
|
||||
Promise<void> suspend(double suspendTime);
|
||||
readonly attribute unsigned long length;
|
||||
attribute EventHandler oncomplete;
|
||||
|
Loading…
Reference in New Issue
Block a user