This method takes a new AudioContext reference and then sets this Sound Manager to use that context for all playback.
As part of this call it also disconnects the master mute and volume nodes and then re-creates them on the new given context.
name | type | description |
---|---|---|
context | AudioContext |
Reference to an already created AudioContext instance. |
The WebAudioSoundManager instance.