AudioEngine Constructor (String)
Initializes a new instance of this class, using a path to an XACT global settings file.
Syntax
'Declaration
Public Sub New ( _
settingsFile As String _
)
public AudioEngine (
string settingsFile
)
public:
AudioEngine(
String settingsFile
)
Parameters
- settingsFile
Type: String
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. |
Requirements
Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
AudioEngine Class
AudioEngine Members
Microsoft.Xna.Framework.Audio Namespace
Platforms
Windows Phone