Audio.Stop

Audio.Stop ( 

number Channel )

Description

Stops playing an audio channel.

Parameters

Channel

(number) The audio channel to stop:

CONSTANT

VALUE

DESCRIPTION

CHANNEL_BACKGROUND

5

Background audio channel.

CHANNEL_EFFECTS

0

Effects channel (used for mouse over, down, and click sounds).

CHANNEL_NARRATION

6

Narration channel (used for voice overs).

CHANNEL_USER1

1

User channel 1. (Only available in the Professional edition.)

CHANNEL_USER2

2

User channel 2. (Only available in the Professional edition.)

CHANNEL_USER3

3

User channel 3. (Only available in the Professional edition.)

CHANNEL_USER4

4

User channel 4. (Only available in the Professional edition.)

CHANNEL_ALL

-3

All audio channels.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

Availability

Standard

Pro

See also: Related Actions