Click or drag to resize
Lame_encDllEncodeChunk Method (UInt32, Byte, Int32, UInt32, Byte, UInt32)
Encodes a chunk of samples. Samples are contained in a byte array

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

Parameters

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

Return Value

Type: UInt32
On success: BE_ERR_SUCCESSFUL
See Also