Function createUnmuteUI
-
Parameters
- engine: AudioEngine
The audio engine to unlock.
- options: UnmuteUIOptions = {}
UI options (parent element).
Returns UnmuteUI
The UI handle; dispose it with disposeUnmuteUI.
- engine: AudioEngine
The audio engine to unlock.
UI options (parent element).
The UI handle; dispose it with disposeUnmuteUI.
Creates and mounts the unmute button. It is shown while the engine's context is not
"running"and hidden once it resumes; clicking it unlocks the engine.