Class MuLawEncoder
mu-law encoder based on code from: http://hazelware.luggle.com/tutorials/mulawcompression.html
Inheritance
System.Object
MuLawEncoder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.Media
Assembly: SIPSorcery.dll
Syntax
public static class MuLawEncoder
Methods
| Improve this Doc View SourceLinearToMuLawSample(Int16)
Encodes a single 16 bit sample to mu-law
Declaration
public static byte LinearToMuLawSample(short sample)
Parameters
Type | Name | Description |
---|---|---|
System.Int16 | sample | 16 bit PCM sample |
Returns
Type | Description |
---|---|
System.Byte | mu-law encoded byte |