Xeno-rat
Loading...
Searching...
No Matches
NAudio.Codecs.ALawDecoder Class Reference

a-law decoder based on code from: http://hazelware.luggle.com/tutorials/mulawcompression.html More...

Collaboration diagram for NAudio.Codecs.ALawDecoder:

Static Public Member Functions

static short ALawToLinearSample (byte aLaw)
 Converts A-law encoded byte to linear sample.
 

Static Private Attributes

static readonly short[] ALawDecompressTable
 only 512 bytes required, so just use a lookup
 

Detailed Description

Member Function Documentation

◆ ALawToLinearSample()

static short NAudio.Codecs.ALawDecoder.ALawToLinearSample ( byte aLaw)
inlinestatic

Converts A-law encoded byte to linear sample.

Parameters
aLawThe A-law encoded byte to be converted.
Returns
The linear sample corresponding to the A-law encoded byte.

Member Data Documentation

◆ ALawDecompressTable

readonly short [] NAudio.Codecs.ALawDecoder.ALawDecompressTable
staticprivate

only 512 bytes required, so just use a lookup


The documentation for this class was generated from the following file: