AudioContent.AudioContent Method (Microsoft.Xna.Framework.Content.Pipeline.Audio)

Initializes a new instance of AudioContent.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Audio
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public AudioContent(
	string audioFileName, 
	AudioFileType audioFileType
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

audioFileName
Type: System.String
Name of the audio source file to be processed.
audioFileType
Type: Microsoft.Xna.Framework.Content.Pipeline.Audio.AudioFileType
Type of the processed audio: WAV, MP3 or WMA.
Constructs the object from the specified source file, in the format specified.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop