Click or drag to resize

Lame_encDllEncodeChunk(UInt32, Byte, Int32, UInt32, Byte, UInt32) Method

Encodes a chunk of samples. Samples are contained in a byte array

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.13.0
Syntax
public static uint EncodeChunk(
	uint hbeStream,
	byte[] buffer,
	int index,
	uint nBytes,
	byte[] pOutput,
	ref uint pdwOutput
)

Parameters

hbeStream  UInt32
Handle of the stream.
buffer  Byte
Bytes to encode
index  Int32
Position of the first byte to encode
nBytes  UInt32
Number of bytes to encode (not samples, samples are two byte lenght)
pOutput  Byte
Buffer where to write the encoded data. This buffer should be at least of the minimum size returned by beInitStream().
pdwOutput  UInt32
Returns the number of bytes of encoded data written. The amount of data written might vary from chunk to chunk

Return Value

UInt32
On success: BE_ERR_SUCCESSFUL
See Also