Share via


AudioContent Constructor

Note

This constructor is available only when developing for Windows.

Initializes a new instance of AudioContent.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Audio
Assembly: (in )

Syntax

public AudioContent (
         string audioFileName,
         AudioFileType audioFileType
)

Parameters

  • audioFileName
    Name of the audio source file to be processed.
  • audioFileType
    Type of the processed audio: WAV, MP3 or WMA.

Remarks

Constructs the object from the specified source file, in the format specified.

See Also

Reference

AudioContent Class
AudioContent Members
Microsoft.Xna.Framework.Content.Pipeline.Audio Namespace

Platforms

Windows XP SP2, Windows Vista