C# Class FSO.Files.XA.XAFile

Represents a *.xa file. It is used to store compressed wav data.
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Méthode Description
DecompressFile ( ) : void

Decompresses the sounddata and stores it in the the decompressed stream in this class.

LoadFile ( byte Data ) : void

Loads an *.xa file, setting things up for decompression. Should always be called before DecompressFile().

LoadFile ( string Path ) : void

Loads a *.xa file, setting things up for decompression. Should always be called before DecompressFile().

XAFile ( byte data ) : System
XAFile ( string path ) : System

Private Methods

Méthode Description
Clip16BitSample ( int sample ) : int
DecompressMono ( byte InputBuffer ) : void

Decompresses a mono sample.

DecompressStereo ( byte InputBuffer ) : void

Decompresses a stereo sample.

HINIBBLE ( byte B ) : byte
LONIBBLE ( byte B ) : byte

Method Details

DecompressFile() public méthode

Decompresses the sounddata and stores it in the the decompressed stream in this class.
public DecompressFile ( ) : void
Résultat void

LoadFile() public méthode

Loads an *.xa file, setting things up for decompression. Should always be called before DecompressFile().
public LoadFile ( byte Data ) : void
Data byte The data of the *.xa file to process.
Résultat void

LoadFile() public méthode

Loads a *.xa file, setting things up for decompression. Should always be called before DecompressFile().
public LoadFile ( string Path ) : void
Path string The path to the *.xa file to load.
Résultat void

XAFile() public méthode

public XAFile ( byte data ) : System
data byte
Résultat System

XAFile() public méthode

public XAFile ( string path ) : System
path string
Résultat System