From c80325e680fe9f818e4cf2d81ee6414f4e7455b5 Mon Sep 17 00:00:00 2001
From: Raymond Toy
- Closes the BaseAudioContext, releasing the system
- resources it's using. This will not automatically release all
- AudioContext-created objects, but will suspend the
- progression of the
- When close is called, execute these
- steps:
-
- Running a control message to close an
- BaseAudioContext means running these steps on the
- rendering thread:
-
- When an BaseAudioContext has been closed, implementation
- can choose to aggressively release more resources than when
- suspending.
-
-
AudioContext
's currentTime, and stop
- processing audio data.
-
-
- NotSupportedError
, return it, and abort these steps.
- closed
reject the promise
- with InvalidStateError
, abort these steps, returning
- promise.
- closed
,
- resolve promise, return it, and abort these steps.
- closed
.
-
-
-
-
- closed
:
-
-
- closed
.
- statechange
at the AudioContext
-
attribute should be used instead.
+ Closes the AudioContext, releasing the system
+ resources it's using. This will not automatically release all
+ AudioContext-created objects, but will suspend the
+ progression of the AudioContext
's currentTime, and stop
+ processing audio data.
+
+ When close is called, execute these + steps: +
+closed
reject the promise
+ with InvalidStateError
, abort these steps, returning
+ promise.
+ closed
,
+ resolve promise, return it, and abort these steps.
+ closed
.
+ + Running a control message to close an AudioContext + means running these steps on the rendering thread: +
+closed
:
+ closed
.
+ statechange
at the AudioContext
+ + When an AudioContext has been closed, implementation can + choose to aggressively release more resources than when + suspending. +
+