(Write-only) Sets the callback object pointer.
If not NULL, the CallbackProc method of this interface will be called with every audio buffer.
Set to NULL (or to "Nothing" in VB) if you do not wish to receive notifications anymore. (For example, before you delete (release) the callback object interface).
There are three types of callbacks you can set:
1. LMAUserCallback uses variants
2. ILMAUserCallback2 uses a pointer to the data, cast as a 32-bit long value
3. ILMAUserCallback3 uses a pointer to the data, cast as a 64-bit LONGLONG value.
C/C++ users can use any interface.
Enables or disables the calling of the CallbackProc notifications in the same thread that set the ReceiveProcObj property. The default value is VARIANT_TRUE.
Possible values are:
|VARIANT_TRUE||Call the notifications in the same thread that set the callback. This reduces the performance and requires the application to process messages (otherwise the callback will not get called).This is the default value and is required for platforms that have problems with multi-threading. VB 6.0 and .NET applications should use this mode.|
|VARIANT_FALSE||Call the notifications in any thread of the process. Use this setting for best performance in platforms that can handle it. Recommended for C/C++ applications.|
|double||CurrentPosition||[read-only] Gets the current position (in seconds) of the current sample passed to the callback. It is best to call this property to get the current position from inside CallbackProc, rather than trying to get the current position from the graph or LTMM object.|
(write-only) Sets the callback object pointer.
If not NULL, the CallbackProc method of this interface will be called for every audio buffer.
Set to NULL (or to "Nothing" in VB) to stop receiving notifications. (For example, before deleting (releasing) the callback object interface).
Medical Web Viewer .NET