Interface libvlc_audio_setup_cb
-
- All Superinterfaces:
com.sun.jna.Callback
public interface libvlc_audio_setup_cb extends com.sun.jna.Callback
Callback prototype to setup the audio playback.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
setup(com.sun.jna.ptr.PointerByReference data, String format, com.sun.jna.ptr.IntByReference rate, com.sun.jna.ptr.IntByReference channels)
Callback prototype to setup the audio playback.
-
-
-
Method Detail
-
setup
int setup(com.sun.jna.ptr.PointerByReference data, String format, com.sun.jna.ptr.IntByReference rate, com.sun.jna.ptr.IntByReference channels)
Callback prototype to setup the audio playback.This is called when the media player needs to create a new audio output.
- Parameters:
data
- pointer to the data pointer passed to libvlc_audio_set_callbacks()format
- 4 bytes sample formatrate
- sample ratechannels
- channels count- Returns:
- 0 on success, anything else to skip audio playback
-
-