Skip to content
AutumnSky1010 edited this page Dec 7, 2022 · 4 revisions

Interface IWave

Definition

Namespace: SoundMaker.Sounds
Assembly: SoundMaker.dll

The interface for wave classes.

public interface IWave

Properties

[Obsolete]Volume

Declaration

[Obsolete]
int Volume { get; }

Property Value

Type Desctiption
int Volume of mixed wave.(0 ~ 100)

[Obsolete]Length

Declaration

[Obsolete]
int Length

Property Value

Type Desctiption
int if stereo wave, return the longer length in the array at initialization.

Methods

GetBytes(BitRateType)

Get the array of bytes of the wave data.
Declaration

byte[] GetBytes(BitRateType bitRate);

Parameters

Type Desctiption
Sounds.BitRateType

Returns

Type Desctiption
byte[] The array of bytes of the wave data.

GetLengthOfBytes(BitRateType)

Get length of bytes of wave data.
Declaration

int GetLengthOfBytes(BitRateType bitRate);

Parameters

Type Desctiption
Sounds.BitRateType

Returns

Type Desctiption
int Length of bytes of wave data.
Clone this wiki locally