Method | Description | |
---|---|---|
DecompressFile ( ) : void |
Decompresses the sounddata and stores it in the the decompressed stream in this class.
|
|
DecompressedWav ( ) : byte[] |
The decompressed wave data as a byte array. Will not contain any data unless DecompressFile() has been called!
|
|
Dispose ( ) : void | ||
GetSampleRate ( ) : uint |
Returns the sample rate for the wav data that makes up this sound.
|
|
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 ( Stream data ) : System | ||
XAFile ( string path ) : System |
Method | Description | |
---|---|---|
Dispose ( bool CleanupNativeAndManagedResources ) : void |
Method | 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 |
protected Dispose ( bool CleanupNativeAndManagedResources ) : void | ||
CleanupNativeAndManagedResources | bool | |
return | void |
public LoadFile ( byte Data ) : void | ||
Data | byte | The data of the *.xa file to process. |
return | void |
public LoadFile ( string Path ) : void | ||
Path | string | The path to the *.xa file to load. |
return | void |