C# Class NewTOAPIA.Media.G711AudioDecoder

Show file Open project: Wiladams/NewTOAPIA

Public Methods

Method Description
Decode ( byte mulaw ) : short

Decode one mu-law byte

Decode ( byte data ) : short[]

Decode an array of mu-law encoded bytes

Decode ( byte data, byte &decoded ) : void

Decode an array of mu-law encoded bytes

Decode ( byte data, short &decoded ) : void

Decode an array of mu-law encoded bytes

Same as the other method that returns an array of shorts

Method Details

Decode() public method

Decode one mu-law byte
public Decode ( byte mulaw ) : short
mulaw byte The encoded mu-law byte
return short

Decode() public method

Decode an array of mu-law encoded bytes
public Decode ( byte data ) : short[]
data byte An array of mu-law encoded bytes
return short[]

Decode() public method

Decode an array of mu-law encoded bytes
public Decode ( byte data, byte &decoded ) : void
data byte An array of mu-law encoded bytes
decoded byte An array of bytes in Little-Endian format containing the results
return void

Decode() public method

Decode an array of mu-law encoded bytes
Same as the other method that returns an array of shorts
public Decode ( byte data, short &decoded ) : void
data byte An array of mu-law encoded bytes
decoded short An array of shorts containing the results
return void