Xeno-rat
Loading...
Searching...
No Matches
NAudio.Codecs.G722CodecState Class Reference

Stores state to be used between calls to Encode or Decode. More...

Collaboration diagram for NAudio.Codecs.G722CodecState:

Public Member Functions

 G722CodecState (int rate, G722Flags options)
 Creates a new instance of G722 Codec State for a new encode or decode session.
 

Properties

bool ItuTestMode [get, set]
 ITU Test Mode TRUE if the operating in the special ITU test mode, with the band split filters disabled.
 
bool Packed [get, private set]
 TRUE if the G.722 data is packed.
 
bool EncodeFrom8000Hz [get, private set]
 8kHz Sampling TRUE if encode from 8k samples/second
 
int BitsPerSample [get, private set]
 Bits Per Sample 6 for 48000kbps, 7 for 56000kbps, or 8 for 64000kbps.
 
int[] QmfSignalHistory [get, private set]
 Signal history for the QMF (x)
 
Band[] Band [get, private set]
 Band.
 
uint InBuffer [get, set]
 In bit buffer.
 
int InBits [get, set]
 Number of bits in InBuffer.
 
uint OutBuffer [get, set]
 Out bit buffer.
 
int OutBits [get, set]
 Number of bits in OutBuffer.
 

Detailed Description

Stores state to be used between calls to Encode or Decode.

Constructor & Destructor Documentation

◆ G722CodecState()

NAudio.Codecs.G722CodecState.G722CodecState ( int rate,
G722Flags options )
inline

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

Parameters
rateBitrate (typically 64000)
optionsSpecial options

Property Documentation

◆ Band

Band [] NAudio.Codecs.G722CodecState.Band
getprivate set

Band.

◆ BitsPerSample

int NAudio.Codecs.G722CodecState.BitsPerSample
getprivate set

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

◆ EncodeFrom8000Hz

bool NAudio.Codecs.G722CodecState.EncodeFrom8000Hz
getprivate set

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

◆ InBits

int NAudio.Codecs.G722CodecState.InBits
getset

Number of bits in InBuffer.

◆ InBuffer

uint NAudio.Codecs.G722CodecState.InBuffer
getset

In bit buffer.

◆ ItuTestMode

bool NAudio.Codecs.G722CodecState.ItuTestMode
getset

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

◆ OutBits

int NAudio.Codecs.G722CodecState.OutBits
getset

Number of bits in OutBuffer.

◆ OutBuffer

uint NAudio.Codecs.G722CodecState.OutBuffer
getset

Out bit buffer.

◆ Packed

bool NAudio.Codecs.G722CodecState.Packed
getprivate set

TRUE if the G.722 data is packed.

◆ QmfSignalHistory

int [] NAudio.Codecs.G722CodecState.QmfSignalHistory
getprivate set

Signal history for the QMF (x)


The documentation for this class was generated from the following file: