vlc.AudioDrainCb

class vlc.AudioDrainCb

Bases: ctypes.c_void_p

Callback prototype for audio buffer drain.

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.

Parameters:

data – data pointer as passed to libvlc_audio_set_callbacks() [IN].

Initialize self. See help(type(self)) for accurate signature.