Class MuLawEncoder
mu-law encoder based on code from: http://hazelware.luggle.com/tutorials/mulawcompression.html
Inherited Members
Namespace: SipLib.Media
Assembly: SipLib.dll
Syntax
public static class MuLawEncoder
Methods
| Edit this page View SourceLinearToMuLawSample(short)
Encodes a single 16 bit sample to mu-law
Declaration
public static byte LinearToMuLawSample(short sample)
Parameters
| Type | Name | Description |
|---|---|---|
| short | sample | 16 bit PCM sample |
Returns
| Type | Description |
|---|---|
| byte | mu-law encoded byte |