Search Results for

    Show / Hide Table of Contents

    Class NAudioImporter

    Abstract class for the NAudio importer.

    Inheritance
    object
    AAssetImporter<SoundSource>
    NAudioImporter
    Mp3Importer
    OGGImporter
    WavImporter
    Implements
    IAssetImporter
    Inherited Members
    AAssetImporter<SoundSource>.Extensions
    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 abstract class NAudioImporter : AAssetImporter<SoundSource>, IAssetImporter

    Methods

    CreateWaveStream(Stream)

    Creates the wave stream for the sound file.

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

    The stream.

    Returns
    Type Description
    WaveStream

    The wave stream.

    ImportData(Stream, SoundSource, bool)

    Imports the asset data.

    Declaration
    public override void ImportData(Stream stream, SoundSource source, bool rawData)
    Parameters
    Type Name Description
    Stream stream

    The stream.

    SoundSource source
    bool rawData
    Overrides
    AAssetImporter<SoundSource>.ImportData(Stream, SoundSource, bool)

    ImportHeader(Stream, out SoundSource)

    Imports the asset header.

    Declaration
    public override void ImportHeader(Stream stream, out SoundSource source)
    Parameters
    Type Name Description
    Stream stream

    The stream.

    SoundSource source
    Overrides
    AAssetImporter<SoundSource>.ImportHeader(Stream, out SoundSource)

    Implements

    IAssetImporter

    Extension Methods

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