Show / Hide Table of Contents

Class ALawEncoder

A-law encoder

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

Methods

| Improve this Doc View Source

LinearToALawSample(Int16)

Encodes a single 16 bit sample to a-law

Declaration
public static byte LinearToALawSample(short sample)
Parameters
Type Name Description
System.Int16 sample

16 bit PCM sample

Returns
Type Description
System.Byte

a-law encoded byte

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX