AudioPlayMode AudioPlayMode AudioPlayMode 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
AudioPlayModeAudioPlayModeAudioPlayModeAudioPlayMode

Fields

Background Background Background Background 1

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

BackgroundLoop BackgroundLoop BackgroundLoop 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 WaitToComplete WaitToComplete 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