vlc.AudioSetupCb ================ .. py:class:: vlc.AudioSetupCb Bases: :py:obj:`ctypes.c_void_p` Callback prototype to setup the audio playback. This is called when the media player needs to create a new audio output. :param opaque: pointer to the data pointer passed to. :func:`libvlc_audio_set_callbacks` [IN/OUT]. :param format: 4 bytes sample format [IN/OUT]. :param rate: sample rate [IN/OUT]. :param channels: channels count [IN/OUT]. :return: 0 on success, anything else to skip audio playback. Initialize self. See help(type(self)) for accurate signature.