Language
Edit

AudioContext.MakeCurrent Method

Definition

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.

Applies to