NAudioG722CodecDecode Method |
Decodes a buffer of G722
Namespace: Ozeki.MediaAssembly: OzekiSDK_Desktop (in OzekiSDK_Desktop.dll) Version: 10.4.98
Syntaxpublic int Decode(
G722CodecState state,
short[] outputBuffer,
byte[] inputG722Data,
int inputLength
)
Public Function Decode (
state As G722CodecState,
outputBuffer As Short(),
inputG722Data As Byte(),
inputLength As Integer
) As Integer
public:
int Decode(
G722CodecState^ state,
array<short>^ outputBuffer,
array<unsigned char>^ inputG722Data,
int inputLength
)
member Decode :
state : G722CodecState *
outputBuffer : int16[] *
inputG722Data : byte[] *
inputLength : int -> int Parameters
- state G722CodecState
- Codec state
- outputBuffer Int16
- Output buffer (to contain decompressed PCM samples)
- inputG722Data Byte
- inputLength Int32
- Number of bytes in input G722 data to decode
Return Value
Int32Number of samples written into output buffer
See Also