Class SoundInfoPart
This class represent the sound info part.
Inherited Members
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public class SoundInfoPart : AssetPart
Constructors
SoundInfoPart()
Initializes a new instance of the Sound
Declaration
public SoundInfoPart()
Properties
Format
Gets or sets the sound wave format.
Declaration
public WaveFormat Format { get; set; }
Property Value
Type | Description |
---|---|
Wave |
Methods
Read(BinaryReader)
Read this asset part.
Declaration
public static SoundInfoPart Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
Binary |
reader | The binary reader. |
Returns
Type | Description |
---|---|
Sound |
The loaded asset part. |
Write(BinaryWriter)
Writes the sub asset.
Declaration
public override void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
Binary |
writer | The stream. |