Delegate MediaPlayer.LibVLCAudioDrainCb
- Namespace
- LibVLCSharp.Shared
- Assembly
- LibVLCSharp.dll
Callback prototype for audio buffer drain.
public delegate void MediaPlayer.LibVLCAudioDrainCb(nint data)
Parameters
datanintdata 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
Methods
BeginInvoke(nint, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(nint data, AsyncCallback callback, object @object)
Parameters
datanintcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(nint)
public virtual void Invoke(nint data)
Parameters
datanint