Show / Hide Table of Contents

Delegate EncodeProcedure

User defined callback function to process (receive) encoded sample data.

Namespace: System.Dynamic.ExpandoObject
Assembly: ManagedBass.Enc.dll
Syntax
public delegate void EncodeProcedure(int Handle, int Channel, IntPtr Buffer, int Length, 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.

IntPtr User

The user instance data given when EncodeStart(Int32, String, EncodeFlags, EncodeProcedure, 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).

Back to top Copyright © 2017 Mathew Sachin
Generated by DocFx