C# Class OpenRA.Mods.Common.FileFormats.AudReader

Afficher le fichier Open project: pchote/OpenRA Class Usage Examples

Méthodes publiques

Méthode Description
LoadSound ( Stream s, byte &rawData, int &sampleRate ) : bool
LoadSound ( byte raw, int &index ) : byte[]
SoundLength ( Stream s ) : float

Private Methods

Méthode Description
DecodeSample ( byte b, int &index, int &current ) : short

Method Details

LoadSound() public static méthode

public static LoadSound ( Stream s, byte &rawData, int &sampleRate ) : bool
s Stream
rawData byte
sampleRate int
Résultat bool

LoadSound() public static méthode

public static LoadSound ( byte raw, int &index ) : byte[]
raw byte
index int
Résultat byte[]

SoundLength() public static méthode

public static SoundLength ( Stream s ) : float
s Stream
Résultat float