Class WavImporter
Imports a WAV file to be used by Evergine.
Implements
IAssetImporter
Inherited Members
Namespace: Evergine.Assets.Importers.Audio
Assembly: Evergine.Assets.dll
Syntax
public class WavImporter : NAudioImporter, IAssetImporter
Remarks
Supported input formats: 8, 16, 24 and 32 bits PCM Unsupported ones: A-Lau and Mu-Lau PCM.
Fields
FileExtension
The importer file 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
Evergine.Framework.Assets.Importers.AAssetImporter<Evergine.Framework.Assets.SoundSource>.Extensions
Methods
CreateWaveStream(Stream)
Creates the wave stream of 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
Implements
Evergine.Framework.Assets.Importers.IAssetImporter