Mp3Importer Class (Microsoft.Xna.Framework.Content.Pipeline)
Provides methods for reading MP3 audio files for use in the Content Pipeline.
System.Object
Microsoft.Xna.Framework.Content.Pipeline.ContentImporter<T>
Microsoft.Xna.Framework.Content.Pipeline.Mp3Importer
Microsoft.Xna.Framework.Content.Pipeline.ContentImporter<T>
Microsoft.Xna.Framework.Content.Pipeline.Mp3Importer
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
[ContentImporterAttribute(".mp3", DisplayName = "Mp3 Importer - MonoGame", DefaultProcessor = "SongProcessor")] public class Mp3Importer : ContentImporter<T>
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The Mp3Importer type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
Mp3Importer | Initializes a new instance of Mp3Importer. |
Platforms | Name | Description | |
---|---|---|---|
Import | Called by the XNA Framework when importing an MP3 audio file to be used as a game asset. This is the method called by the XNA Framework when an asset is to be imported into an object that can be recognized by the Content Pipeline. (Overrides ContentImporter<T>.Import().) |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop