AudioEngine.AudioEngine Method (Microsoft.Xna.Framework.Audio)
Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
- 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.
Parameters
- settingsFile
-
Type: System.String
Path to a XACT settings file.
- lookAheadTime
-
Type: System.TimeSpan
Determines how many milliseconds the engine will look ahead when determing when to transition to another sound.
- rendererId
-
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
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web