AudioPlayMode Enumeration 

Indicates how to play sounds when calling audio methods.

Remarks

You can use the AudioPlayMode enumeration members to control how the My.Computer.Audio.Play Method plays sounds.

Members

Member Description

WaitToComplete

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

Background

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

BackgroundLoop

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

Requirements

Namespace: Microsoft.VisualBasic

Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)

See Also

Reference

My.Computer.Audio.Play Method
AudioPlayMode

Concepts

Intrinsic Constants and Enumerations