Class G722CodecState
Stores state to be used between calls to Encode or Decode
public class G722CodecState
- Inheritance
-
G722CodecState
- Inherited Members
Constructors
G722CodecState(int, G722Flags)
Creates a new instance of G722 Codec State for a new encode or decode session
public G722CodecState(int rate, G722Flags options)
Parameters
Properties
Band
Band
public Band[] Band { get; }
Property Value
- Band[]
BitsPerSample
Bits Per Sample 6 for 48000kbps, 7 for 56000kbps, or 8 for 64000kbps.
public int BitsPerSample { get; }
Property Value
EncodeFrom8000Hz
8kHz Sampling TRUE if encode from 8k samples/second
public bool EncodeFrom8000Hz { get; }
Property Value
InBits
Number of bits in InBuffer
public int InBits { get; }
Property Value
InBuffer
In bit buffer
public uint InBuffer { get; }
Property Value
ItuTestMode
ITU Test Mode TRUE if the operating in the special ITU test mode, with the band split filters disabled.
public bool ItuTestMode { get; set; }
Property Value
OutBits
Number of bits in OutBuffer
public int OutBits { get; }
Property Value
OutBuffer
Out bit buffer
public uint OutBuffer { get; }
Property Value
Packed
TRUE if the G.722 data is packed
public bool Packed { get; }
Property Value
QmfSignalHistory
Signal history for the QMF (x)
public int[] QmfSignalHistory { get; }
Property Value
- int[]