Class SoundSourceLoader
The sound source loader.
Implements
Inherited Members
Namespace: Evergine.Framework.Assets
Assembly: Evergine.Framework.dll
Syntax
public class SoundSourceLoader : AssetSourceLoadableConverter<SoundSource, AudioBuffer>, IAssetSourceLoadableConverter
Constructors
SoundSourceLoader(AudioDevice)
Initializes a new instance of the SoundSourceLoader class.
Declaration
public SoundSourceLoader(AudioDevice audioDevice)
Parameters
Type | Name | Description |
---|---|---|
AudioDevice | audioDevice | The audio device. |
Properties
ExportedExtension
Gets the exported extension of the asset.
Declaration
public override string ExportedExtension { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
Convert(SoundSource)
Converts an asset source into a loadable element.
Declaration
public override AudioBuffer Convert(SoundSource source)
Parameters
Type | Name | Description |
---|---|---|
SoundSource | source | The asset source. |
Returns
Type | Description |
---|---|
AudioBuffer | The loadable element. |