mu-law decoder based on code from: http://hazelware.luggle.com/tutorials/mulawcompression.html
More...
|
static short | MuLawToLinearSample (byte muLaw) |
| Converts a mu-law encoded byte to a 16-bit linear PCM sample.
|
|
◆ MuLawToLinearSample()
static short NAudio.Codecs.MuLawDecoder.MuLawToLinearSample |
( |
byte | muLaw | ) |
|
|
inlinestatic |
Converts a mu-law encoded byte to a 16-bit linear PCM sample.
- Parameters
-
muLaw | The mu-law encoded byte to be converted. |
- Returns
- The 16-bit linear PCM sample corresponding to the input mu-law encoded byte.
◆ MuLawDecompressTable
readonly short [] NAudio.Codecs.MuLawDecoder.MuLawDecompressTable |
|
staticprivate |
only 512 bytes required, so just use a lookup
The documentation for this class was generated from the following file:
- /Users/sumansaurabh/Documents/my-startup/xeno-rat/Plugins/LiveMicrophone/lib/NAudio.Core/Codecs/MuLawDecoder.cs