Delegate EncodeProcedureEx
User defined callback function to process (receive) encoded sample data (iOS and Mac).
Namespace: System.Dynamic.ExpandoObject
Assembly: ManagedBass.Enc.dll
Syntax
public delegate void EncodeProcedureEx(int Handle, int Channel, IntPtr Buffer, int Length, int Offset, IntPtr User);
Parameters
Int32
Handle
The encoder that the data is from (as returned by EncodeStart(Int32, String, EncodeFlags, EncodeProcedure, IntPtr)). |
Int32
Channel
The channel that the data is from. |
IntPtr
Buffer
The pointer to the buffer containing the encoded data. |
Int32
Length
The number of bytes in the buffer. |
Int32
Offset
File Offset of the data. |
IntPtr
User
The user instance data given when EncodeStartCA(Int32, Int32, Int32, EncodeFlags, Int32, EncodeProcedureEx, IntPtr) was called. |
Remarks
To have the encoded data received by this callback function, the encoder needs to be told to output to STDOUT (instead of a file).