AudioContext.MakeCurrent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Makes the AudioContext current in the calling thread.
public void MakeCurrent();
member this.MakeCurrent : unit -> unit
Exceptions
Occurs if this function is called after the AudioContext has been disposed.
Occurs when the AudioContext could not be made current.
Remarks
Only one AudioContext can be current in the application at any time, regardless of the number of threads.