Class NAudioImporter
The NAudio importer abstract class.
Implements
IAssetImporter
Inherited Members
AAssetImporter<SoundSource>.Extensions
Namespace: Evergine.Assets.Importers.Audio
Assembly: Evergine.Assets.dll
Syntax
public abstract class NAudioImporter : AAssetImporter<SoundSource>, IAssetImporter
Methods
CreateWaveStream(Stream)
Creates the wave stream of 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)
Import 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)
Import the asset header.
Declaration
public override void ImportHeader(Stream stream, out SoundSource source)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
SoundSource | source |
Overrides
Implements
Evergine.Framework.Assets.Importers.IAssetImporter