Edit

Share via


AudioPlayMode Enum

Definition

Indicates how to play sounds when calling audio methods.

public enum class AudioPlayMode
public enum AudioPlayMode
type AudioPlayMode = 
Public Enum AudioPlayMode
Inheritance
AudioPlayMode

Fields

Background 1

Causes the My.Computer.Audio.Play method to play the sound in the background. The calling code continues to execute.

BackgroundLoop 2

Causes the My.Computer.Audio.Play method to play the sound in the background until the Stop() method is called. The calling code continues to execute.

WaitToComplete 0

Causes the My.Computer.Audio.Play method to play the sound, and waits until it completes before calling code continues.

Remarks

You can use the AudioPlayMode enumeration members to control how the Play method plays sounds.

Applies to

See also