Bewerken

Delen 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

Name Value Description
WaitToComplete 0

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

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.

Remarks

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

Applies to

See also