Bagikan melalui


AudioEngine Members

The following tables list the members exposed by the AudioEngine type.

Public Constructors

Name Description
Public Method AudioEngine Overloaded. Initializes a new instance of this class.

Public Fields

Name Description
Public Field ContentVersion Specifies the current content version.

Public Properties

Name Description
Public Property IsDisposed Gets a value that indicates whether the object is disposed.
Public Property RendererDetails Gets a collection of audio renderers.

Public Methods

Name Description
Public Method Dispose Overloaded. Immediately releases the unmanaged resources used by this object.
Public Method Equals Overloaded. Returns a value that indicates whether the current instance is equal to a specified object.
Public Method GetCategory Gets an audio category.
Public Method GetGlobalVariable Gets the value of a global variable.
Public Method GetHashCode Gets the hash code for this instance.
Public Method GetType (Inherited from Object.)
Public Method Static op_Equality Compares two objects to determine whether they are the same.
Public Method Static op_Inequality Compares two objects to determine whether they are different.
Public Method ReferenceEquals (Inherited from Object.)
Public Method SetGlobalVariable Sets the value of a global variable.
Public Method ToString (Inherited from Object.)
Public Method Update Performs periodic work required by the audio engine.

Protected Methods

Name Description
Protected Method Finalize Allows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object.
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method raise_Disposing Raises the Disposing event when called from within a derived class.

Public Events

Name Description
Public Event Disposing Occurs when Dispose is called or when this object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime (CLR).

See Also

Tasks

How to: Play a Sound
How to: Stop or Pause a Sound
How to: Change Sound Volume Levels

Concepts

Audio Overview

Reference

AudioEngine Class
Microsoft.Xna.Framework.Audio Namespace