Lame_encDllEncodeChunk Method (UInt32, Byte, Int32, UInt32, Byte, UInt32) |
Encodes a chunk of samples. Samples are contained in a byte array
Namespace: Ozeki.MediaAssembly: 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
)
Public Shared Function EncodeChunk (
hbeStream As UInteger,
buffer As Byte(),
index As Integer,
nBytes As UInteger,
pOutput As Byte(),
ByRef pdwOutput As UInteger
) As UInteger
public:
static unsigned int EncodeChunk(
unsigned int hbeStream,
array<unsigned char>^ buffer,
int index,
unsigned int nBytes,
array<unsigned char>^ pOutput,
unsigned int% pdwOutput
)
static member EncodeChunk :
hbeStream : uint32 *
buffer : byte[] *
index : int *
nBytes : uint32 *
pOutput : byte[] *
pdwOutput : uint32 byref -> uint32
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:
UInt32On success: BE_ERR_SUCCESSFUL
See Also