C# Class OpenRA.FileFormats.AudReader

Mostrar archivo Open project: cjshmyr/OpenRA Class Usage Examples

Public Methods

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

Private Methods

Method Description
DecodeSample ( byte b, int &index, int &current ) : short

Method Details

LoadSound() public static method

public static LoadSound ( Stream s, byte &rawData, int &sampleRate ) : bool
s Stream
rawData byte
sampleRate int
return bool

LoadSound() public static method

public static LoadSound ( byte raw, int &index ) : byte[]
raw byte
index int
return byte[]

SoundLength() public static method

public static SoundLength ( Stream s ) : float
s Stream
return float