Table of Contents

Delegate MediaPlayer.LibVLCAudioDrainCb

Namespace
LibVLCSharp.Shared
Assembly
LibVLCSharp.dll

Callback prototype for audio buffer drain.

public delegate void MediaPlayer.LibVLCAudioDrainCb(nint data)

Parameters

data nint

data pointer as passed to libvlc_audio_set_callbacks() [IN]

Remarks

LibVLC may invoke this callback when the decoded audio track is ending.

There will be no further decoded samples for the track, but playback should

nevertheless continue until all already pending buffers are rendered.

Constructors

LibVLCAudioDrainCb(object, nint)

public LibVLCAudioDrainCb(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(nint, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(nint data, AsyncCallback callback, object @object)

Parameters

data nint
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(nint)

public virtual void Invoke(nint data)

Parameters

data nint