Class NAudioImporter
Abstract class for the NAudio importer.
Implements
Inherited Members
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
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 |