AudioEngine.AudioEngine Method (Microsoft.Xna.Framework.Audio)

Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public AudioEngine(
	string settingsFile, 
	TimeSpan lookAheadTime, 
	string rendererId

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: System.String
Path to a XACT settings file.
Type: System.TimeSpan
Determines how many milliseconds the engine will look ahead when determing when to transition to another sound.
Type: System.String
A string that specifies the audio renderer to use.
For the best results, use a lookAheadTime of 250 milliseconds or greater.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop