Class ALawEncoder
A-law encoder
Inherited Members
Namespace: SipLib.Media
Assembly: SipLib.dll
Syntax
public static class ALawEncoder
Methods
| Edit this page View SourceLinearToALawSample(short)
Encodes a single 16 bit sample to a-law
Declaration
public static byte LinearToALawSample(short sample)
Parameters
Type | Name | Description |
---|---|---|
short | sample | 16 bit PCM sample |
Returns
Type | Description |
---|---|
byte | a-law encoded byte |