Lame_encDllEncodeChunk(UInt32, Byte, Int32, UInt32, Byte, UInt32) Method |
Encodes a chunk of samples. Samples are contained in a byte array
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.0
Syntaxpublic 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 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
UInt32On success: BE_ERR_SUCCESSFUL
See Also