Class NAudioImporter
The NAudio importer abstract class.
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 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 |