Show / Hide Table of Contents

Class G722CodecState

Stores state to be used between calls to Encode or Decode

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

Constructors

| Improve this Doc View Source

G722CodecState(Int32, G722Flags)

Creates a new instance of G722 Codec State for a new encode or decode session

Declaration
public G722CodecState(int rate, G722Flags options)
Parameters
Type Name Description
System.Int32 rate

Bitrate (typically 64000)

G722Flags options

Special options

Properties

| Improve this Doc View Source

Band

Band

Declaration
public Band[] Band { get; }
Property Value
Type Description
Band[]
| Improve this Doc View Source

BitsPerSample

Bits Per Sample 6 for 48000kbps, 7 for 56000kbps, or 8 for 64000kbps.

Declaration
public int BitsPerSample { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

EncodeFrom8000Hz

8kHz Sampling TRUE if encode from 8k samples/second

Declaration
public bool EncodeFrom8000Hz { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

InBits

Number of bits in InBuffer

Declaration
public int InBits { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

InBuffer

In bit buffer

Declaration
public uint InBuffer { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

ItuTestMode

ITU Test Mode TRUE if the operating in the special ITU test mode, with the band split filters disabled.

Declaration
public bool ItuTestMode { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

OutBits

Number of bits in OutBuffer

Declaration
public int OutBits { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

OutBuffer

Out bit buffer

Declaration
public uint OutBuffer { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

Packed

TRUE if the G.722 data is packed

Declaration
public bool Packed { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

QmfSignalHistory

Signal history for the QMF (x)

Declaration
public int[] QmfSignalHistory { get; }
Property Value
Type Description
System.Int32[]

Extension Methods

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