C# Class AlbLib.Sounds.RawPCMSound

Inheritance: SoundBase
Afficher le fichier Open project: IllidanS4/AlbLib Class Usage Examples

Méthodes publiques

Méthode Description
RawPCMSound ( Stream stream, int length ) : System

Loads sound from stream.

RawPCMSound ( byte data ) : System

Loads sound from byte array.

ToWAVE ( ) : byte[]

Converts sound to wave format.

ToWAVEStream ( ) : MemoryStream
WriteWAVEToStream ( Stream output ) : int

Private Methods

Méthode Description
RawPCMSound ( ) : System

Method Details

RawPCMSound() public méthode

Loads sound from stream.
public RawPCMSound ( Stream stream, int length ) : System
stream Stream /// Input stream. ///
length int /// Length of ///
Résultat System

RawPCMSound() public méthode

Loads sound from byte array.
public RawPCMSound ( byte data ) : System
data byte /// Raw PCM data. ///
Résultat System

ToWAVE() public méthode

Converts sound to wave format.
public ToWAVE ( ) : byte[]
Résultat byte[]

ToWAVEStream() public méthode

public ToWAVEStream ( ) : MemoryStream
Résultat System.IO.MemoryStream

WriteWAVEToStream() public méthode

public WriteWAVEToStream ( Stream output ) : int
output Stream
Résultat int