Show / Hide Table of Contents

Class ALawDecoder

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

Inheritance
System.Object
ALawDecoder
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 class ALawDecoder

Methods

| Improve this Doc View Source

ALawToLinearSample(Byte)

Converts an a-law encoded byte to a 16 bit linear sample

Declaration
public static short ALawToLinearSample(byte aLaw)
Parameters
Type Name Description
System.Byte aLaw

a-law encoded byte

Returns
Type Description
System.Int16

Linear sample

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX