AudioContent Constructor
Note
This constructor is available only when developing for Windows.
Initializes a new instance of AudioContent.
Syntax
'Declaration
Public Sub New ( _
audioFileName As String, _
audioFileType As AudioFileType _
)
public AudioContent (
string audioFileName,
AudioFileType audioFileType
)
public:
AudioContent(
String audioFileName,
AudioFileType audioFileType
)
Parameters
- audioFileName
Type: String
Name of the audio source file to be processed. - audioFileType
Type: AudioFileType
Type of the processed audio: WAV, MP3 or WMA.
Remarks
Constructs the object from the specified source file, in the format specified.
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Audio
Assembly: (in )
See Also
Reference
AudioContent Class
AudioContent Members
Microsoft.Xna.Framework.Content.Pipeline.Audio Namespace
Platforms
Windows 7, Windows Vista, Windows XP