Search Results for

    Show / Hide Table of Contents

    Class Mp3Importer

    The MP3 asset importer class.

    Inheritance
    object
    AAssetImporter<SoundSource>
    NAudioImporter
    Mp3Importer
    Implements
    IAssetImporter
    Inherited Members
    NAudioImporter.ImportHeader(Stream, out SoundSource)
    NAudioImporter.ImportData(Stream, SoundSource, bool)
    AAssetImporter<SoundSource>.ImportSource(Stream, bool, bool)
    AAssetImporter<SoundSource>.GenerateAdditionalAssets(Stream, SoundSource)
    AAssetImporter<SoundSource>.ApplySettings(ProjectParameters)
    Namespace: Evergine.Assets.Importers.Audio
    Assembly: Evergine.Assets.dll
    Syntax
    public class Mp3Importer : NAudioImporter, IAssetImporter

    Fields

    FileExtension

    The MP3 source extension.

    Declaration
    public static readonly string FileExtension
    Field Value
    Type Description
    string

    Properties

    Extensions

    Gets the importer file extensions.

    Declaration
    public override string[] Extensions { get; }
    Property Value
    Type Description
    string[]
    Overrides
    AAssetImporter<SoundSource>.Extensions

    Methods

    CreateWaveStream(Stream)

    Creates the wave stream for the sound file.

    Declaration
    protected override WaveStream CreateWaveStream(Stream stream)
    Parameters
    Type Name Description
    Stream stream

    The stream.

    Returns
    Type Description
    WaveStream

    The wave stream.

    Overrides
    NAudioImporter.CreateWaveStream(Stream)

    Implements

    IAssetImporter

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX