Lame_encDllEncodeChunk Method (UInt32, Byte, 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,
byte[] pOutput,
ref uint pdwOutput
)
Public Shared Function EncodeChunk (
hbeStream As UInteger,
buffer As Byte(),
pOutput As Byte(),
ByRef pdwOutput As UInteger
) As UInteger
public:
static unsigned int EncodeChunk(
unsigned int hbeStream,
array<unsigned char>^ buffer,
array<unsigned char>^ pOutput,
unsigned int% pdwOutput
)
static member EncodeChunk :
hbeStream : uint32 *
buffer : byte[] *
pOutput : byte[] *
pdwOutput : uint32 byref -> uint32
Parameters
- hbeStream
- Type: SystemUInt32
Handle of the stream. - buffer
- Type: SystemByte
Bytes to encode - 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