Share via


AudioEngine Constructor (String)

Initializes a new instance of this class, using a path to an XACT global settings file.

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

Syntax

public AudioEngine (
         string settingsFile
)

Parameters

  • settingsFile
    Path to a global settings file.

Exceptions

Exception type Condition
ArgumentNullException The settingsFile parameter is null.
ArgumentException XACT could not load the data provided. Make sure you are using the correct version of the XACT tool.
InvalidOperationException The engine could not be created.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista