Share via


Cue.Stop Method

Stops playback of a Cue.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public void Stop (
         AudioStopOptions options
)

Parameters

  • options
    Enumerated value specifying how the sound should stop. If set to None, the sound will play any release phase or transition specified in the audio designer. If set to Immediate, the sound will stop immediately, ignoring any release phases or transitions.

See Also

Tasks

How to: Play a Sound
How to: Stop or Pause a Sound

Concepts

Audio Overview

Reference

Cue Class
Cue Members
Microsoft.Xna.Framework.Audio Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista