|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LibVlc
JNA interface to the libvlc native library.
This is not a complete interface to libvlc.
This interface specifies the exposed methods only, the types and structures are all factored out separately in the "internal" sub-package.
This code and that in the internal sub-package is structured out of necessity to interoperate with the libvlc native library. This code was derived from the original JVLC source code, the copyright of which belongs to the VideoLAN team, which was distributed under GPL version 2 or later.
This binding is for version 1.1 of vlc. Earlier versions of vlc are radically different and will not work with these bindings.
Some functions are only available after version 1.1.0 of libvlc.
This flag may be useful:
-Djna.dump_memory=true
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.sun.jna.Library |
---|
com.sun.jna.Library.Handler |
Field Summary | |
---|---|
static uk.co.caprica.vlcj.binding.Info |
info
Application information. |
static LibVlc |
INSTANCE
Native library instance. |
static LibVlc |
SYNC_INSTANCE
Synchronised native library instance. |
Fields inherited from interface com.sun.jna.Library |
---|
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER |
Method Summary | |
---|---|
int |
libvlc_add_intf(libvlc_instance_t p_instance,
java.lang.String name)
Try to start a user interface for the libvlc instance. |
libvlc_module_description_t |
libvlc_audio_filter_list_get(libvlc_instance_t p_instance)
Returns a list of audio filters that are available. |
int |
libvlc_audio_get_channel(libvlc_media_player_t p_mi)
Get current audio channel. |
long |
libvlc_audio_get_delay(libvlc_media_player_t p_mi)
Get current audio delay. |
int |
libvlc_audio_get_mute(libvlc_media_player_t p_mi)
Get current mute status. |
int |
libvlc_audio_get_track_count(libvlc_media_player_t p_mi)
Get number of available audio tracks. |
libvlc_track_description_t |
libvlc_audio_get_track_description(libvlc_media_player_t p_mi)
Get the description of available audio tracks. |
int |
libvlc_audio_get_track(libvlc_media_player_t p_mi)
Get current audio track. |
int |
libvlc_audio_get_volume(libvlc_media_player_t p_mi)
Get current audio level. |
int |
libvlc_audio_output_device_count(libvlc_instance_t p_instance,
java.lang.String psz_audio_output)
Get count of devices for audio output, these devices are hardware oriented like analor or digital output of sound card |
java.lang.String |
libvlc_audio_output_device_id(libvlc_instance_t p_instance,
java.lang.String psz_audio_output,
int i_device)
Get id name of device |
java.lang.String |
libvlc_audio_output_device_longname(libvlc_instance_t p_instance,
java.lang.String psz_audio_output,
int i_device)
Get long name of device, if not available short name given |
void |
libvlc_audio_output_device_set(libvlc_media_player_t p_mi,
java.lang.String psz_audio_output,
java.lang.String psz_device_id)
Set audio output device. |
int |
libvlc_audio_output_get_device_type(libvlc_media_player_t p_mi)
Get current audio device type. |
libvlc_audio_output_t |
libvlc_audio_output_list_get(libvlc_instance_t p_instance)
Get the list of available audio outputs |
void |
libvlc_audio_output_list_release(libvlc_audio_output_t p_list)
Free the list of available audio outputs |
void |
libvlc_audio_output_set_device_type(libvlc_media_player_t p_mi,
int device_type)
Set current audio device type. |
int |
libvlc_audio_output_set(libvlc_media_player_t p_mi,
java.lang.String psz_name)
Set the audio output. |
int |
libvlc_audio_set_channel(libvlc_media_player_t p_mi,
int channel)
Set current audio channel. |
int |
libvlc_audio_set_delay(libvlc_media_player_t p_mi,
long i_delay)
Set current audio delay. |
void |
libvlc_audio_set_mute(libvlc_media_player_t p_mi,
int status)
Set mute status. |
int |
libvlc_audio_set_track(libvlc_media_player_t p_mi,
int i_track)
Set current audio track. |
int |
libvlc_audio_set_volume(libvlc_media_player_t p_mi,
int i_volume)
Set current audio level. |
void |
libvlc_audio_toggle_mute(libvlc_media_player_t p_mi)
Toggle mute status. |
void |
libvlc_clearerr()
Clears the LibVLC error status for the current thread. |
java.lang.String |
libvlc_errmsg()
A human-readable error message for the last LibVLC error in the calling thread. |
int |
libvlc_event_attach(libvlc_event_manager_t p_event_manager,
int i_event_type,
libvlc_callback_t f_callback,
com.sun.jna.Pointer user_data)
Register for an event notification. |
void |
libvlc_event_detach(libvlc_event_manager_t p_event_manager,
int i_event_type,
libvlc_callback_t f_callback,
com.sun.jna.Pointer p_user_data)
Unregister an event notification. |
java.lang.String |
libvlc_event_type_name(int event_type)
Get an event's type name. |
void |
libvlc_free(com.sun.jna.Pointer ptr)
Frees an heap allocation returned by a LibVLC function. |
java.lang.String |
libvlc_get_changeset()
Retrieve libvlc changeset. |
java.lang.String |
libvlc_get_compiler()
Retrieve libvlc compiler version. |
int |
libvlc_get_fullscreen(libvlc_media_player_t p_mi)
Get current fullscreen status. |
int |
libvlc_get_log_verbosity(libvlc_instance_t p_instance)
Return the VLC messaging verbosity level. |
java.lang.String |
libvlc_get_version()
Retrieve libvlc version. |
void |
libvlc_log_clear(libvlc_log_t p_log)
Clear a log instance. |
void |
libvlc_log_close(libvlc_log_t p_log)
Close a VLC message log instance. |
int |
libvlc_log_count(libvlc_log_t p_log)
Returns the number of messages in a log instance. |
libvlc_log_iterator_t |
libvlc_log_get_iterator(libvlc_log_t p_log)
Allocate and returns a new iterator to messages in log. |
void |
libvlc_log_iterator_free(libvlc_log_iterator_t p_iter)
Release a previoulsy allocated iterator. |
int |
libvlc_log_iterator_has_next(libvlc_log_iterator_t p_iter)
Return whether log iterator has more messages. |
libvlc_log_message_t |
libvlc_log_iterator_next(libvlc_log_iterator_t p_iter,
libvlc_log_message_t p_buffer)
Return the next log message. |
libvlc_log_t |
libvlc_log_open(libvlc_instance_t p_instance)
Open a VLC message log instance. |
void |
libvlc_media_add_option_flag(libvlc_media_t p_md,
java.lang.String ppsz_options,
int i_flags)
Add an option to the media with configurable flags. |
void |
libvlc_media_add_option(libvlc_media_t p_md,
java.lang.String ppsz_options)
Add an option to the media. |
libvlc_media_t |
libvlc_media_duplicate(libvlc_media_t p_md)
Duplicate a media descriptor object. |
libvlc_event_manager_t |
libvlc_media_event_manager(libvlc_media_t p_md)
Get event manager from media descriptor object. |
long |
libvlc_media_get_duration(libvlc_media_t p_md)
Get duration (in ms) of media descriptor object item. |
java.lang.String |
libvlc_media_get_meta(libvlc_media_t p_md,
int e_meta)
Read the meta of the media. |
java.lang.String |
libvlc_media_get_mrl(libvlc_media_t p_md)
Get the media resource locator (mrl) from a media descriptor object |
int |
libvlc_media_get_state(libvlc_media_t p_meta_desc)
Get current state of media descriptor object. |
int |
libvlc_media_get_stats(libvlc_media_t p_md,
libvlc_media_stats_t p_stats)
get the current statistics about the media |
int |
libvlc_media_get_tracks_info(libvlc_media_t media,
libvlc_media_track_info_t[] tracks)
Get media descriptor's elementary streams description Note, you need to play the media _one_ time with --sout="#description" Not doing this will result in an empty array, and doing it more than once will duplicate the entries in the array each time. |
com.sun.jna.Pointer |
libvlc_media_get_user_data(libvlc_media_t p_md)
Get media descriptor's user_data. |
int |
libvlc_media_is_parsed(libvlc_media_t p_md)
Get Parsed status for media descriptor object. |
int |
libvlc_media_list_add_media(libvlc_media_list_t p_ml,
libvlc_media_t p_md)
Add media instance to media list The libvlc_media_list_lock should be held upon entering this function. |
int |
libvlc_media_list_count(libvlc_media_list_t p_ml)
Get count on media list items The libvlc_media_list_lock should be held upon entering this function. |
libvlc_event_manager_t |
libvlc_media_list_event_manager(libvlc_media_list_t p_ml)
Get libvlc_event_manager from this media list instance. |
int |
libvlc_media_list_index_of_item(libvlc_media_list_t p_ml,
libvlc_media_t p_md)
Find index position of List media instance in media list. |
int |
libvlc_media_list_insert_media(libvlc_media_list_t p_ml,
libvlc_media_t p_md,
int i_pos)
Insert media instance in media list on a position The libvlc_media_list_lock should be held upon entering this function. |
int |
libvlc_media_list_is_readonly(libvlc_media_list_t p_ml)
This indicates if this media list is read-only from a user point of view |
libvlc_media_t |
libvlc_media_list_item_at_index(libvlc_media_list_t p_ml,
int i_pos)
List media instance in media list at a position The libvlc_media_list_lock should be held upon entering this function. |
void |
libvlc_media_list_lock(libvlc_media_list_t p_ml)
Get lock on media list items |
libvlc_media_t |
libvlc_media_list_media(libvlc_media_list_t p_ml)
Get media instance from this media list instance. |
libvlc_media_list_t |
libvlc_media_list_new(libvlc_instance_t p_instance)
Create an empty media list. |
libvlc_event_manager_t |
libvlc_media_list_player_event_manager(libvlc_media_list_player_t p_mlp)
Return the event manager of this media_list_player. |
libvlc_state_t |
libvlc_media_list_player_get_state(libvlc_media_list_player_t p_mlp)
Get current libvlc_state of media list player |
int |
libvlc_media_list_player_is_playing(libvlc_media_list_player_t p_mlp)
Is media list playing? |
libvlc_media_list_player_t |
libvlc_media_list_player_new(libvlc_instance_t p_instance)
Create new media_list_player. |
int |
libvlc_media_list_player_next(libvlc_media_list_player_t p_mlp)
Play next item from media list |
void |
libvlc_media_list_player_pause(libvlc_media_list_player_t p_mlp)
Pause media list |
int |
libvlc_media_list_player_play_item_at_index(libvlc_media_list_player_t p_mlp,
int i_index)
Play media list item at position index |
int |
libvlc_media_list_player_play_item(libvlc_media_list_player_t p_mlp,
libvlc_media_t p_md)
Play the given media item |
void |
libvlc_media_list_player_play(libvlc_media_list_player_t p_mlp)
Play media list |
int |
libvlc_media_list_player_previous(libvlc_media_list_player_t p_mlp)
Play previous item from media list |
void |
libvlc_media_list_player_release(libvlc_media_list_player_t p_mlp)
Release media_list_player. |
void |
libvlc_media_list_player_set_media_list(libvlc_media_list_player_t p_mlp,
libvlc_media_list_t p_mlist)
Set the media list associated with the player |
void |
libvlc_media_list_player_set_media_player(libvlc_media_list_player_t p_mlp,
libvlc_media_player_t p_mi)
Replace media player in media_list_player with this instance. |
void |
libvlc_media_list_player_set_playback_mode(libvlc_media_list_player_t p_mlp,
int e_mode)
Sets the playback mode for the playlist |
void |
libvlc_media_list_player_stop(libvlc_media_list_player_t p_mlp)
Stop playing media list |
void |
libvlc_media_list_release(libvlc_media_list_t p_ml)
Release media list created with libvlc_media_list_new(). |
int |
libvlc_media_list_remove_index(libvlc_media_list_t p_ml,
int i_pos)
Remove media instance from media list on a position The libvlc_media_list_lock should be held upon entering this function. |
void |
libvlc_media_list_retain(libvlc_media_list_t p_ml)
Retain reference to a media list |
void |
libvlc_media_list_set_media(libvlc_media_list_t p_ml,
libvlc_media_t p_md)
Associate media instance with this media list instance. |
void |
libvlc_media_list_unlock(libvlc_media_list_t p_ml)
Release lock on media list items The libvlc_media_list_lock should be held upon entering this function. |
libvlc_media_t |
libvlc_media_new_as_node(libvlc_instance_t p_instance,
java.lang.String psz_name)
Create a media as an empty node with a given name. |
libvlc_media_t |
libvlc_media_new_location(libvlc_instance_t p_instance,
java.lang.String psz_mrl)
Create a media with a certain given media resource location. |
libvlc_media_t |
libvlc_media_new_path(libvlc_instance_t p_instance,
java.lang.String path)
Create a media with a certain file path. |
void |
libvlc_media_parse_async(libvlc_media_t media)
Parse a media. |
void |
libvlc_media_parse(libvlc_media_t media)
Parse a media. |
int |
libvlc_media_player_can_pause(libvlc_media_player_t p_mi)
Can this media player be paused? |
libvlc_event_manager_t |
libvlc_media_player_event_manager(libvlc_media_player_t p_mi)
Get the Event Manager from which the media player send event. |
int |
libvlc_media_player_get_agl(libvlc_media_player_t p_mi)
Get the agl handler previously set with libvlc_media_player_set_agl(). |
int |
libvlc_media_player_get_chapter_count_for_title(libvlc_media_player_t p_mi,
int i_title)
Get title chapter count |
int |
libvlc_media_player_get_chapter_count(libvlc_media_player_t p_mi)
Get movie chapter count |
int |
libvlc_media_player_get_chapter(libvlc_media_player_t p_mi)
Get movie chapter. |
float |
libvlc_media_player_get_fps(libvlc_media_player_t p_mi)
Get movie fps rate |
com.sun.jna.Pointer |
libvlc_media_player_get_hwnd(libvlc_media_player_t p_mi)
Get the Windows API window handle (HWND) previously set with libvlc_media_player_set_hwnd(). |
long |
libvlc_media_player_get_length(libvlc_media_player_t p_mi)
Get the current movie length (in ms). |
libvlc_media_t |
libvlc_media_player_get_media(libvlc_media_player_t p_mi)
Get the media used by the media_player. |
com.sun.jna.Pointer |
libvlc_media_player_get_nsobject(libvlc_media_player_t p_mi)
Get the NSView handler previously set with libvlc_media_player_set_nsobject(). |
float |
libvlc_media_player_get_position(libvlc_media_player_t p_mi)
Get movie position. |
float |
libvlc_media_player_get_rate(libvlc_media_player_t p_mi)
Get the requested movie play rate. |
int |
libvlc_media_player_get_state(libvlc_media_player_t p_mi)
Get current movie state |
long |
libvlc_media_player_get_time(libvlc_media_player_t p_mi)
Get the current movie time (in ms). |
int |
libvlc_media_player_get_title_count(libvlc_media_player_t p_mi)
Get movie title count |
int |
libvlc_media_player_get_title(libvlc_media_player_t p_mi)
Get movie title |
int |
libvlc_media_player_get_xwindow(libvlc_media_player_t p_mi)
Get the X Window System window identifier previously set with libvlc_media_player_set_xwindow(). |
int |
libvlc_media_player_has_vout(libvlc_media_player_t p_mi)
How many video outputs does this media player have? |
int |
libvlc_media_player_is_playing(libvlc_media_player_t p_mi)
is_playing |
int |
libvlc_media_player_is_seekable(libvlc_media_player_t p_mi)
Is this media player seekable? |
void |
libvlc_media_player_navigate(libvlc_media_player_t p_mi,
int navigate)
Navigate through DVD Menu |
libvlc_media_player_t |
libvlc_media_player_new_from_media(libvlc_media_t p_md)
Create a Media Player object from a Media |
libvlc_media_player_t |
libvlc_media_player_new(libvlc_instance_t p_libvlc_instance)
Create an empty Media Player object |
void |
libvlc_media_player_next_chapter(libvlc_media_player_t p_mi)
Set next chapter (if applicable) |
void |
libvlc_media_player_next_frame(libvlc_media_player_t p_mi)
Display the next frame (if supported) |
void |
libvlc_media_player_pause(libvlc_media_player_t p_mi)
Toggle pause (no effect if there is no media) |
int |
libvlc_media_player_play(libvlc_media_player_t p_mi)
Play |
void |
libvlc_media_player_previous_chapter(libvlc_media_player_t p_mi)
Set previous chapter (if applicable) |
void |
libvlc_media_player_release(libvlc_media_player_t p_mi)
Release a media_player after use Decrement the reference count of a media player object. |
void |
libvlc_media_player_retain(libvlc_media_player_t p_mi)
Retain a reference to a media player object. |
void |
libvlc_media_player_set_agl(libvlc_media_player_t p_mi,
int drawable)
Set the agl handler where the media player should render its video output. |
void |
libvlc_media_player_set_chapter(libvlc_media_player_t p_mi,
int i_chapter)
Set movie chapter (if applicable). |
void |
libvlc_media_player_set_hwnd(libvlc_media_player_t p_mi,
com.sun.jna.Pointer drawable)
Set a Win32/Win64 API window handle (HWND) where the media player should render its video output. |
void |
libvlc_media_player_set_media(libvlc_media_player_t p_mi,
libvlc_media_t p_md)
Set the media that will be used by the media_player. |
void |
libvlc_media_player_set_nsobject(libvlc_media_player_t p_mi,
com.sun.jna.Pointer drawable)
Set the NSView handler where the media player should render its video output. |
void |
libvlc_media_player_set_pause(libvlc_media_player_t mp,
int do_pause)
Pause or resume (no effect if there is no media) |
void |
libvlc_media_player_set_position(libvlc_media_player_t p_mi,
float f_pos)
Set movie position. |
int |
libvlc_media_player_set_rate(libvlc_media_player_t p_mi,
float rate)
Set movie play rate |
void |
libvlc_media_player_set_time(libvlc_media_player_t p_mi,
long i_time)
Set the movie time (in ms). |
void |
libvlc_media_player_set_title(libvlc_media_player_t p_mi,
int i_title)
Set movie title |
void |
libvlc_media_player_set_xwindow(libvlc_media_player_t p_mi,
int drawable)
Set an X Window System drawable where the media player should render its video output. |
void |
libvlc_media_player_stop(libvlc_media_player_t p_mi)
Stop (no effect if there is no media) |
int |
libvlc_media_player_will_play(libvlc_media_player_t p_mi)
Is the player able to play |
void |
libvlc_media_release(libvlc_media_t p_md)
Decrement the reference count of a media descriptor object. |
void |
libvlc_media_retain(libvlc_media_t p_md)
Retain a reference to a media descriptor object (libvlc_media_t). |
int |
libvlc_media_save_meta(libvlc_media_t p_md)
Save the meta previously set |
void |
libvlc_media_set_meta(libvlc_media_t p_md,
int e_meta,
java.lang.String psz_value)
Set the meta of the media (this function will not save the meta, call libvlc_media_save_meta in order to save the meta) |
void |
libvlc_media_set_user_data(libvlc_media_t p_md,
com.sun.jna.Pointer p_new_user_data)
Sets media descriptor's user_data. |
libvlc_media_list_t |
libvlc_media_subitems(libvlc_media_t p_md)
Get subitems of media descriptor object. |
void |
libvlc_module_description_list_release(libvlc_module_description_t p_list)
Release a list of module descriptions. |
libvlc_instance_t |
libvlc_new_with_builtins(int argc,
java.lang.String[] argv,
com.sun.jna.Pointer[] builtins)
Create and initialize a libvlc instance. |
libvlc_instance_t |
libvlc_new(int argc,
java.lang.String[] argv)
Create and initialize a libvlc instance. |
void |
libvlc_release(libvlc_instance_t p_instance)
Decrement the reference count of a libvlc instance, and destroy it if it reaches zero. |
void |
libvlc_retain(libvlc_instance_t p_instance)
Increments the reference count of a libvlc instance. |
void |
libvlc_set_fullscreen(libvlc_media_player_t p_mi,
int b_fullscreen)
Enable or disable fullscreen. |
void |
libvlc_set_log_verbosity(libvlc_instance_t p_instance,
int level)
Set the VLC messaging verbosity level. |
void |
libvlc_set_user_agent(libvlc_instance_t p_instance,
java.lang.String name,
java.lang.String http)
Sets the application name. |
void |
libvlc_toggle_fullscreen(libvlc_media_player_t p_mi)
Toggle fullscreen status on non-embedded video outputs. |
void |
libvlc_toggle_teletext(libvlc_media_player_t p_mi)
Toggle teletext transparent status on video output. |
void |
libvlc_track_description_release(com.sun.jna.Pointer p_track_description)
Release (free) libvlc_track_description_t |
libvlc_module_description_t |
libvlc_video_filter_list_get(libvlc_instance_t p_instance)
Returns a list of video filters that are available. |
float |
libvlc_video_get_adjust_float(libvlc_media_player_t p_mi,
int option)
Get float adjust option. |
int |
libvlc_video_get_adjust_int(libvlc_media_player_t p_mi,
int option)
Get integer adjust option. |
java.lang.String |
libvlc_video_get_aspect_ratio(libvlc_media_player_t p_mi)
Get current video aspect ratio. |
libvlc_track_description_t |
libvlc_video_get_chapter_description(libvlc_media_player_t p_mi,
int i_title)
Get the description of available chapters for specific title. |
java.lang.String |
libvlc_video_get_crop_geometry(libvlc_media_player_t p_mi)
Get current crop filter geometry. |
int |
libvlc_video_get_cursor(libvlc_media_player_t p_mi,
int num,
com.sun.jna.Pointer px,
com.sun.jna.Pointer py)
Get the mouse pointer coordinates over a video. |
int |
libvlc_video_get_height(libvlc_media_player_t p_mi)
Deprecated. |
int |
libvlc_video_get_logo_int(libvlc_media_player_t p_mi,
int option)
Get integer logo option. |
int |
libvlc_video_get_marquee_int(libvlc_media_player_t p_mi,
int option)
Get an integer marquee option value |
java.lang.String |
libvlc_video_get_marquee_string(libvlc_media_player_t p_mi,
int option)
Get a string marquee option value |
float |
libvlc_video_get_scale(libvlc_media_player_t p_mi)
Get the current video scaling factor. |
int |
libvlc_video_get_size(libvlc_media_player_t p_mi,
int num,
com.sun.jna.ptr.IntByReference px,
com.sun.jna.ptr.IntByReference py)
Get the pixel dimensions of a video. |
int |
libvlc_video_get_spu_count(libvlc_media_player_t p_mi)
Get the number of available video subtitles. |
libvlc_track_description_t |
libvlc_video_get_spu_description(libvlc_media_player_t p_mi)
Get the description of available video subtitles. |
int |
libvlc_video_get_spu(libvlc_media_player_t p_mi)
Get current video subtitle. |
int |
libvlc_video_get_teletext(libvlc_media_player_t p_mi)
Get current teletext page requested. |
libvlc_track_description_t |
libvlc_video_get_title_description(libvlc_media_player_t p_mi)
Get the description of available titles. |
int |
libvlc_video_get_track_count(libvlc_media_player_t p_mi)
Get number of available video tracks. |
libvlc_track_description_t |
libvlc_video_get_track_description(libvlc_media_player_t p_mi)
Get the description of available video tracks. |
int |
libvlc_video_get_track(libvlc_media_player_t p_mi)
Get current video track. |
int |
libvlc_video_get_width(libvlc_media_player_t p_mi)
Deprecated. |
void |
libvlc_video_set_adjust_float(libvlc_media_player_t p_mi,
int option,
float value)
Set adjust option as float. |
void |
libvlc_video_set_adjust_int(libvlc_media_player_t p_mi,
int option,
int value)
Set adjust option as integer. |
void |
libvlc_video_set_aspect_ratio(libvlc_media_player_t p_mi,
java.lang.String psz_aspect)
Set new video aspect ratio. |
void |
libvlc_video_set_callbacks(libvlc_media_player_t mp,
libvlc_lock_callback_t lock,
libvlc_unlock_callback_t unlock,
libvlc_display_callback_t display,
com.sun.jna.Pointer opaque)
Set callbacks and private data to render decoded video to a custom area in memory. |
void |
libvlc_video_set_crop_geometry(libvlc_media_player_t p_mi,
java.lang.String psz_geometry)
Set new crop filter geometry. |
void |
libvlc_video_set_deinterlace(libvlc_media_player_t p_mi,
java.lang.String psz_mode)
Enable or disable deinterlace filter |
void |
libvlc_video_set_format_callbacks(libvlc_media_player_t mp,
libvlc_video_format_cb setup,
libvlc_video_cleanup_cb cleanup)
Set decoded video chroma and dimensions. |
void |
libvlc_video_set_format(libvlc_media_player_t mp,
java.lang.String chroma,
int width,
int height,
int pitch)
Set decoded video chroma and dimensions. |
void |
libvlc_video_set_key_input(libvlc_media_player_t p_mi,
int on)
Enable or disable key press events handling, according to the LibVLC hotkeys configuration. |
void |
libvlc_video_set_logo_int(libvlc_media_player_t p_mi,
int option,
int value)
Set logo option as integer. |
void |
libvlc_video_set_logo_string(libvlc_media_player_t p_mi,
int option,
java.lang.String psz_value)
Set logo option as string. |
void |
libvlc_video_set_marquee_int(libvlc_media_player_t p_mi,
int option,
int i_val)
Enable, disable or set an integer marquee option Setting libvlc_marquee_Enable has the side effect of enabling (arg !0) or disabling (arg 0) the marq filter. |
void |
libvlc_video_set_marquee_string(libvlc_media_player_t p_mi,
int option,
java.lang.String psz_text)
Set a marquee string option |
void |
libvlc_video_set_mouse_input(libvlc_media_player_t p_mi,
int on)
Enable or disable mouse click events handling. |
void |
libvlc_video_set_scale(libvlc_media_player_t p_mi,
float f_factor)
Set the video scaling factor. |
int |
libvlc_video_set_spu(libvlc_media_player_t p_mi,
int i_spu)
Set new video subtitle. |
int |
libvlc_video_set_subtitle_file(libvlc_media_player_t p_mi,
java.lang.String psz_subtitle)
Set new video subtitle file. |
void |
libvlc_video_set_teletext(libvlc_media_player_t p_mi,
int i_page)
Set new teletext page to retrieve. |
int |
libvlc_video_set_track(libvlc_media_player_t p_mi,
int i_track)
Set video track. |
int |
libvlc_video_take_snapshot(libvlc_media_player_t p_mi,
int num,
java.lang.String psz_filepath,
int i_width,
int i_height)
Take a snapshot of the current video window. |
void |
libvlc_wait(libvlc_instance_t p_instance)
Waits until an interface causes the instance to exit. |
Field Detail |
---|
static final uk.co.caprica.vlcj.binding.Info info
static final LibVlc INSTANCE
static final LibVlc SYNC_INSTANCE
Method Detail |
---|
java.lang.String libvlc_errmsg()
void libvlc_clearerr()
libvlc_instance_t libvlc_new(int argc, java.lang.String[] argv)
argc
- the number of argumentsargv
- command-line-type arguments
libvlc_instance_t libvlc_new_with_builtins(int argc, java.lang.String[] argv, com.sun.jna.Pointer[] builtins)
void libvlc_release(libvlc_instance_t p_instance)
p_instance
- the instance to destroyvoid libvlc_retain(libvlc_instance_t p_instance)
p_instance
- the instance to referenceint libvlc_add_intf(libvlc_instance_t p_instance, java.lang.String name)
p_instance
- the instancename
- interface name, or NULL for default
void libvlc_wait(libvlc_instance_t p_instance)
p_instance
- the instancevoid libvlc_set_user_agent(libvlc_instance_t p_instance, java.lang.String name, java.lang.String http)
p_instance
- LibVLC instancename
- human-readable application name, e.g. "FooBar player 1.2.3"http
- HTTP User Agent, e.g. "FooBar/1.2.3 Python/2.6.0"java.lang.String libvlc_get_version()
java.lang.String libvlc_get_compiler()
java.lang.String libvlc_get_changeset()
void libvlc_free(com.sun.jna.Pointer ptr)
ptr
- the pointerint libvlc_event_attach(libvlc_event_manager_t p_event_manager, int i_event_type, libvlc_callback_t f_callback, com.sun.jna.Pointer user_data)
p_event_manager
- the event manager to which you want to attach to.
Generally it is obtained by vlc_my_object_event_manager() where
my_object is the object you want to listen to.i_event_type
- the desired event to which we want to listenf_callback
- the function to call when i_event_type occursuser_data
- user provided data to carry with the event
void libvlc_event_detach(libvlc_event_manager_t p_event_manager, int i_event_type, libvlc_callback_t f_callback, com.sun.jna.Pointer p_user_data)
p_event_manager
- the event manageri_event_type
- the desired event to which we want to unregisterf_callback
- the function to call when i_event_type occursp_user_data
- user provided data to carry with the eventjava.lang.String libvlc_event_type_name(int event_type)
event_type
- the desired eventint libvlc_get_log_verbosity(libvlc_instance_t p_instance)
p_instance
- libvlc instance
void libvlc_set_log_verbosity(libvlc_instance_t p_instance, int level)
p_instance
- libvlc log instancelevel
- log levellibvlc_log_t libvlc_log_open(libvlc_instance_t p_instance)
p_instance
- libvlc instance
void libvlc_log_close(libvlc_log_t p_log)
p_log
- libvlc log instance or NULLint libvlc_log_count(libvlc_log_t p_log)
p_log
- libvlc log instance or NULL
void libvlc_log_clear(libvlc_log_t p_log)
p_log
- libvlc log instance or NULLlibvlc_log_iterator_t libvlc_log_get_iterator(libvlc_log_t p_log)
p_log
- libvlc log instance
void libvlc_log_iterator_free(libvlc_log_iterator_t p_iter)
p_iter
- libvlc log iterator or NULLint libvlc_log_iterator_has_next(libvlc_log_iterator_t p_iter)
p_iter
- libvlc log iterator or NULL
libvlc_log_message_t libvlc_log_iterator_next(libvlc_log_iterator_t p_iter, libvlc_log_message_t p_buffer)
p_iter
- libvlc log iterator or NULLp_buffer
- log buffer
void libvlc_module_description_list_release(libvlc_module_description_t p_list)
p_list
- the list to be releasedlibvlc_module_description_t libvlc_audio_filter_list_get(libvlc_instance_t p_instance)
p_instance
- libvlc instance
libvlc_module_description_t
,
libvlc_module_description_list_release
libvlc_module_description_t libvlc_video_filter_list_get(libvlc_instance_t p_instance)
p_instance
- libvlc instance
libvlc_module_description_t
,
libvlc_module_description_list_release
libvlc_media_t libvlc_media_new_location(libvlc_instance_t p_instance, java.lang.String psz_mrl)
p_instance
- the instancepsz_mrl
- the MRL to read
libvlc_media_release
libvlc_media_t libvlc_media_new_path(libvlc_instance_t p_instance, java.lang.String path)
p_instance
- the instancepath
- local filesystem path
libvlc_media_release
libvlc_media_t libvlc_media_new_as_node(libvlc_instance_t p_instance, java.lang.String psz_name)
p_instance
- the instancepsz_name
- the name of the node
libvlc_media_release
void libvlc_media_add_option(libvlc_media_t p_md, java.lang.String ppsz_options)
p_md
- the media descriptorppsz_options
- the options (as a string)void libvlc_media_add_option_flag(libvlc_media_t p_md, java.lang.String ppsz_options, int i_flags)
p_md
- the media descriptorppsz_options
- the options (as a string)i_flags
- the flags for this optionvoid libvlc_media_retain(libvlc_media_t p_md)
p_md
- the media descriptorvoid libvlc_media_release(libvlc_media_t p_md)
p_md
- the media descriptorjava.lang.String libvlc_media_get_mrl(libvlc_media_t p_md)
p_md
- a media descriptor object
libvlc_media_t libvlc_media_duplicate(libvlc_media_t p_md)
p_md
- a media descriptor object.java.lang.String libvlc_media_get_meta(libvlc_media_t p_md, int e_meta)
p_md
- the media descriptore_meta
- the meta to read
libvlc_media_parse
,
libvlc_media_parse_async
,
libvlc_MediaMetaChanged
void libvlc_media_set_meta(libvlc_media_t p_md, int e_meta, java.lang.String psz_value)
p_md
- the media descriptore_meta
- the meta to writepsz_value
- the media's metaint libvlc_media_save_meta(libvlc_media_t p_md)
p_md
- the media desriptor
int libvlc_media_get_state(libvlc_media_t p_meta_desc)
p_meta_desc
- a media descriptor object
libvlc_state_t
int libvlc_media_get_stats(libvlc_media_t p_md, libvlc_media_stats_t p_stats)
p_md
- media descriptor objectp_stats
- structure that contain the statistics about the media (this
structure must be allocated by the caller)
libvlc_media_list_t libvlc_media_subitems(libvlc_media_t p_md)
p_md
- media descriptor object
libvlc_event_manager_t libvlc_media_event_manager(libvlc_media_t p_md)
p_md
- a media descriptor object
long libvlc_media_get_duration(libvlc_media_t p_md)
p_md
- media descriptor object
void libvlc_media_parse(libvlc_media_t media)
media
- media descriptor objectlibvlc_media_parse_async
,
libvlc_media_get_meta
,
libvlc_media_get_tracks_info
void libvlc_media_parse_async(libvlc_media_t media)
media
- media descriptor objectlibvlc_media_parse
,
libvlc_MediaParsedChanged
,
libvlc_media_get_meta
,
libvlc_media_get_tracks_info
int libvlc_media_is_parsed(libvlc_media_t p_md)
p_md
- media descriptor object
libvlc_MediaParsedChanged
void libvlc_media_set_user_data(libvlc_media_t p_md, com.sun.jna.Pointer p_new_user_data)
p_md
- media descriptor objectp_new_user_data
- pointer to user datacom.sun.jna.Pointer libvlc_media_get_user_data(libvlc_media_t p_md)
p_md
- media descriptor objectint libvlc_media_get_tracks_info(libvlc_media_t media, libvlc_media_track_info_t[] tracks)
media
- media descriptor objecttracks
- address to store an allocated array of Elementary Streams
descriptions (must be freed by the caller) return the number of
Elementary Streamslibvlc_media_player_t libvlc_media_player_new(libvlc_instance_t p_libvlc_instance)
p_libvlc_instance
- the libvlc instance in which the Media Player
should be created.
libvlc_media_player_t libvlc_media_player_new_from_media(libvlc_media_t p_md)
p_md
- the media. Afterwards the p_md can be safely destroyed.
void libvlc_media_player_release(libvlc_media_player_t p_mi)
p_mi
- the Media Player to freevoid libvlc_media_player_retain(libvlc_media_player_t p_mi)
p_mi
- media player objectvoid libvlc_media_player_set_media(libvlc_media_player_t p_mi, libvlc_media_t p_md)
p_mi
- the Media Playerp_md
- the Media. Afterwards the p_md can be safely destroyed.libvlc_media_t libvlc_media_player_get_media(libvlc_media_player_t p_mi)
p_mi
- the Media Player
libvlc_event_manager_t libvlc_media_player_event_manager(libvlc_media_player_t p_mi)
p_mi
- the Media Player
int libvlc_media_player_is_playing(libvlc_media_player_t p_mi)
p_mi
- the Media Player
int libvlc_media_player_play(libvlc_media_player_t p_mi)
p_mi
- the Media Player
void libvlc_media_player_set_pause(libvlc_media_player_t mp, int do_pause)
mp
- the Media Playerdo_pause
- play/resume if zero, pause if non-zerovoid libvlc_media_player_pause(libvlc_media_player_t p_mi)
p_mi
- the Media Playervoid libvlc_media_player_stop(libvlc_media_player_t p_mi)
p_mi
- the Media Playervoid libvlc_video_set_callbacks(libvlc_media_player_t mp, libvlc_lock_callback_t lock, libvlc_unlock_callback_t unlock, libvlc_display_callback_t display, com.sun.jna.Pointer opaque)
mp
- the media playerlock
- callback to allocate video memoryunlock
- callback to release video memorydisplay
- callback when ready to display a video frameopaque
- private pointer for the three callbacks (as first parameter)void libvlc_video_set_format(libvlc_media_player_t mp, java.lang.String chroma, int width, int height, int pitch)
mp
- the media playerchroma
- a four-characters string identifying the chroma (e.g. "RV32" or "YUYV")width
- pixel widthheight
- pixel heightpitch
- line pitch (in bytes)void libvlc_video_set_format_callbacks(libvlc_media_player_t mp, libvlc_video_format_cb setup, libvlc_video_cleanup_cb cleanup)
mp
- the media playersetup
- callback to select the video format (cannot be NULL)cleanup
- callback to release any allocated resources (or NULL)void libvlc_media_player_set_nsobject(libvlc_media_player_t p_mi, com.sun.jna.Pointer drawable)
p_mi
- the Media Playerdrawable
- the drawable that is either an NSView or an object
following the VLCOpenGLVideoViewEmbedding protocol.com.sun.jna.Pointer libvlc_media_player_get_nsobject(libvlc_media_player_t p_mi)
p_mi
- the Media Player
void libvlc_media_player_set_agl(libvlc_media_player_t p_mi, int drawable)
p_mi
- the Media Playerdrawable
- the agl handlerint libvlc_media_player_get_agl(libvlc_media_player_t p_mi)
p_mi
- the Media Player
void libvlc_media_player_set_xwindow(libvlc_media_player_t p_mi, int drawable)
p_mi
- the Media Playerdrawable
- the ID of the X windowint libvlc_media_player_get_xwindow(libvlc_media_player_t p_mi)
p_mi
- the Media Player
void libvlc_media_player_set_hwnd(libvlc_media_player_t p_mi, com.sun.jna.Pointer drawable)
p_mi
- the Media Playerdrawable
- windows handle of the drawablecom.sun.jna.Pointer libvlc_media_player_get_hwnd(libvlc_media_player_t p_mi)
p_mi
- the Media Player
long libvlc_media_player_get_length(libvlc_media_player_t p_mi)
p_mi
- the Media Player
long libvlc_media_player_get_time(libvlc_media_player_t p_mi)
p_mi
- the Media Player
void libvlc_media_player_set_time(libvlc_media_player_t p_mi, long i_time)
p_mi
- the Media Playeri_time
- the movie time (in ms).float libvlc_media_player_get_position(libvlc_media_player_t p_mi)
p_mi
- the Media Player
void libvlc_media_player_set_position(libvlc_media_player_t p_mi, float f_pos)
p_mi
- the Media Playerf_pos
- the positionvoid libvlc_media_player_set_chapter(libvlc_media_player_t p_mi, int i_chapter)
p_mi
- the Media Playeri_chapter
- chapter number to playint libvlc_media_player_get_chapter(libvlc_media_player_t p_mi)
p_mi
- the Media Player
int libvlc_media_player_get_chapter_count(libvlc_media_player_t p_mi)
p_mi
- the Media Player
int libvlc_media_player_will_play(libvlc_media_player_t p_mi)
p_mi
- the Media Player
int libvlc_media_player_get_chapter_count_for_title(libvlc_media_player_t p_mi, int i_title)
p_mi
- the Media Playeri_title
- title
void libvlc_media_player_set_title(libvlc_media_player_t p_mi, int i_title)
p_mi
- the Media Playeri_title
- title number to playint libvlc_media_player_get_title(libvlc_media_player_t p_mi)
p_mi
- the Media Player
int libvlc_media_player_get_title_count(libvlc_media_player_t p_mi)
p_mi
- the Media Player
void libvlc_media_player_previous_chapter(libvlc_media_player_t p_mi)
p_mi
- the Media Playervoid libvlc_media_player_next_chapter(libvlc_media_player_t p_mi)
p_mi
- the Media Playerfloat libvlc_media_player_get_rate(libvlc_media_player_t p_mi)
p_mi
- the Media Player
int libvlc_media_player_set_rate(libvlc_media_player_t p_mi, float rate)
p_mi
- the Media Playerrate
- movie play rate to set
int libvlc_media_player_get_state(libvlc_media_player_t p_mi)
p_mi
- the Media Player
float libvlc_media_player_get_fps(libvlc_media_player_t p_mi)
p_mi
- the Media Player
int libvlc_media_player_has_vout(libvlc_media_player_t p_mi)
p_mi
- the media player
int libvlc_media_player_is_seekable(libvlc_media_player_t p_mi)
p_mi
- the media player
int libvlc_media_player_can_pause(libvlc_media_player_t p_mi)
p_mi
- the media player
void libvlc_media_player_next_frame(libvlc_media_player_t p_mi)
p_mi
- the media playervoid libvlc_media_player_navigate(libvlc_media_player_t p_mi, int navigate)
p_mi
- the Media Playernavigate
- the Navigation mode
since libVLC 1.2.0void libvlc_track_description_release(com.sun.jna.Pointer p_track_description)
p_track_description
- the structure to releasevoid libvlc_toggle_fullscreen(libvlc_media_player_t p_mi)
p_mi
- the media playervoid libvlc_set_fullscreen(libvlc_media_player_t p_mi, int b_fullscreen)
p_mi
- the media playerb_fullscreen
- boolean for fullscreen statusint libvlc_get_fullscreen(libvlc_media_player_t p_mi)
p_mi
- the media player
void libvlc_video_set_key_input(libvlc_media_player_t p_mi, int on)
p_mi
- the media playeron
- true to handle key press events, false to ignore them.void libvlc_video_set_mouse_input(libvlc_media_player_t p_mi, int on)
p_mi
- the media playeron
- true to handle mouse click events, false to ignore them.int libvlc_video_get_size(libvlc_media_player_t p_mi, int num, com.sun.jna.ptr.IntByReference px, com.sun.jna.ptr.IntByReference py)
p_mi
- media playernum
- number of the video (starting from, and most commonly 0)px
- pointer to get the pixel width [OUT]py
- pointer to get the pixel height [OUT]
int libvlc_video_get_height(libvlc_media_player_t p_mi)
p_mi
- the media player
int libvlc_video_get_width(libvlc_media_player_t p_mi)
p_mi
- the media player
int libvlc_video_get_cursor(libvlc_media_player_t p_mi, int num, com.sun.jna.Pointer px, com.sun.jna.Pointer py)
p_mi
- media playernum
- number of the video (starting from, and most commonly 0)px
- pointer to get the abscissa [OUT]py
- pointer to get the ordinate [OUT]
float libvlc_video_get_scale(libvlc_media_player_t p_mi)
p_mi
- the media player
void libvlc_video_set_scale(libvlc_media_player_t p_mi, float f_factor)
p_mi
- the media playerf_factor
- the scaling factor, or zerojava.lang.String libvlc_video_get_aspect_ratio(libvlc_media_player_t p_mi)
p_mi
- the media player
void libvlc_video_set_aspect_ratio(libvlc_media_player_t p_mi, java.lang.String psz_aspect)
p_mi
- the media playerpsz_aspect
- new video aspect-ratio or NULL to reset to default \note
Invalid aspect ratios are ignored.int libvlc_video_get_spu(libvlc_media_player_t p_mi)
p_mi
- the media player
int libvlc_video_get_spu_count(libvlc_media_player_t p_mi)
p_mi
- the media player
libvlc_track_description_t libvlc_video_get_spu_description(libvlc_media_player_t p_mi)
p_mi
- the media player
int libvlc_video_set_spu(libvlc_media_player_t p_mi, int i_spu)
p_mi
- the media playeri_spu
- new video subtitle to select
int libvlc_video_set_subtitle_file(libvlc_media_player_t p_mi, java.lang.String psz_subtitle)
p_mi
- the media playerpsz_subtitle
- new video subtitle file
libvlc_track_description_t libvlc_video_get_title_description(libvlc_media_player_t p_mi)
p_mi
- the media player
libvlc_track_description_t libvlc_video_get_chapter_description(libvlc_media_player_t p_mi, int i_title)
p_mi
- the media playeri_title
- selected title
java.lang.String libvlc_video_get_crop_geometry(libvlc_media_player_t p_mi)
p_mi
- the media player
void libvlc_video_set_crop_geometry(libvlc_media_player_t p_mi, java.lang.String psz_geometry)
p_mi
- the media playerpsz_geometry
- new crop filter geometry (NULL to unset)int libvlc_video_get_teletext(libvlc_media_player_t p_mi)
p_mi
- the media player
void libvlc_video_set_teletext(libvlc_media_player_t p_mi, int i_page)
p_mi
- the media playeri_page
- teletex page number requestedvoid libvlc_toggle_teletext(libvlc_media_player_t p_mi)
p_mi
- the media playerint libvlc_video_get_track_count(libvlc_media_player_t p_mi)
p_mi
- media player
libvlc_track_description_t libvlc_video_get_track_description(libvlc_media_player_t p_mi)
p_mi
- media player
int libvlc_video_get_track(libvlc_media_player_t p_mi)
p_mi
- media player
int libvlc_video_set_track(libvlc_media_player_t p_mi, int i_track)
p_mi
- media playeri_track
- the track (int)
int libvlc_video_take_snapshot(libvlc_media_player_t p_mi, int num, java.lang.String psz_filepath, int i_width, int i_height)
p_mi
- media player instancenum
- number of video output (typically 0 for the first/only one)psz_filepath
- the path where to save the screenshot toi_width
- the snapshot's widthi_height
- the snapshot's height
void libvlc_video_set_deinterlace(libvlc_media_player_t p_mi, java.lang.String psz_mode)
p_mi
- libvlc media playerpsz_mode
- type of deinterlace filter, NULL to disableint libvlc_video_get_marquee_int(libvlc_media_player_t p_mi, int option)
p_mi
- libvlc media playeroption
- marq option to get @see libvlc_video_marquee_int_option_tjava.lang.String libvlc_video_get_marquee_string(libvlc_media_player_t p_mi, int option)
p_mi
- libvlc media playeroption
- marq option to get @see libvlc_video_marquee_string_option_tvoid libvlc_video_set_marquee_int(libvlc_media_player_t p_mi, int option, int i_val)
p_mi
- libvlc media playeroption
- marq option to set @see libvlc_video_marquee_int_option_ti_val
- marq option valuevoid libvlc_video_set_marquee_string(libvlc_media_player_t p_mi, int option, java.lang.String psz_text)
p_mi
- libvlc media playeroption
- marq option to set @see libvlc_video_marquee_string_option_tpsz_text
- marq option valueint libvlc_video_get_logo_int(libvlc_media_player_t p_mi, int option)
p_mi
- libvlc media player instanceoption
- logo option to get, values of libvlc_video_logo_option_tvoid libvlc_video_set_logo_int(libvlc_media_player_t p_mi, int option, int value)
p_mi
- libvlc media player instanceoption
- logo option to set, values of libvlc_video_logo_option_tvalue
- logo option valuevoid libvlc_video_set_logo_string(libvlc_media_player_t p_mi, int option, java.lang.String psz_value)
p_mi
- libvlc media player instanceoption
- logo option to set, values of libvlc_video_logo_option_tpsz_value
- logo option valueint libvlc_video_get_adjust_int(libvlc_media_player_t p_mi, int option)
p_mi
- libvlc media player instanceoption
- adjust option to get, values of libvlc_video_adjust_option_t
void libvlc_video_set_adjust_int(libvlc_media_player_t p_mi, int option, int value)
p_mi
- libvlc media player instanceoption
- adust option to set, values of libvlc_video_adjust_option_tvalue
- adjust option valuefloat libvlc_video_get_adjust_float(libvlc_media_player_t p_mi, int option)
p_mi
- libvlc media player instanceoption
- adjust option to get, values of libvlc_video_adjust_option_t
void libvlc_video_set_adjust_float(libvlc_media_player_t p_mi, int option, float value)
p_mi
- libvlc media player instanceoption
- adust option to set, values of libvlc_video_adjust_option_tvalue
- adjust option valuelibvlc_audio_output_t libvlc_audio_output_list_get(libvlc_instance_t p_instance)
p_instance
- libvlc instance
@see libvlc_audio_output_t . In case
of error, NULL is returned.
void libvlc_audio_output_list_release(libvlc_audio_output_t p_list)
p_list
- list with audio outputs for releaseint libvlc_audio_output_set(libvlc_media_player_t p_mi, java.lang.String psz_name)
p_mi
- media playerpsz_name
- name of audio output, use psz_name of @see libvlc_audio_output_t
int libvlc_audio_output_device_count(libvlc_instance_t p_instance, java.lang.String psz_audio_output)
p_instance
- libvlc instancepsz_audio_output
- - name of audio output, @see libvlc_audio_output_t
java.lang.String libvlc_audio_output_device_longname(libvlc_instance_t p_instance, java.lang.String psz_audio_output, int i_device)
p_instance
- libvlc instancepsz_audio_output
- - name of audio output, @see libvlc_audio_output_ti_device
- device index
java.lang.String libvlc_audio_output_device_id(libvlc_instance_t p_instance, java.lang.String psz_audio_output, int i_device)
p_instance
- libvlc instancepsz_audio_output
- - name of audio output, @see libvlc_audio_output_ti_device
- device index
void libvlc_audio_output_device_set(libvlc_media_player_t p_mi, java.lang.String psz_audio_output, java.lang.String psz_device_id)
p_mi
- media playerpsz_audio_output
- - name of audio output, @see libvlc_audio_output_tpsz_device_id
- deviceint libvlc_audio_output_get_device_type(libvlc_media_player_t p_mi)
p_mi
- media player
void libvlc_audio_output_set_device_type(libvlc_media_player_t p_mi, int device_type)
p_mi
- vlc instancedevice_type
- the audio device type, according to @see
libvlc_audio_output_device_types_tvoid libvlc_audio_toggle_mute(libvlc_media_player_t p_mi)
p_mi
- media playerint libvlc_audio_get_mute(libvlc_media_player_t p_mi)
p_mi
- media player
void libvlc_audio_set_mute(libvlc_media_player_t p_mi, int status)
p_mi
- media playerstatus
- If status is true then mute, otherwise unmuteint libvlc_audio_get_volume(libvlc_media_player_t p_mi)
p_mi
- media player
int libvlc_audio_set_volume(libvlc_media_player_t p_mi, int i_volume)
p_mi
- media playeri_volume
- the volume (int)
int libvlc_audio_get_track_count(libvlc_media_player_t p_mi)
p_mi
- media player
libvlc_track_description_t libvlc_audio_get_track_description(libvlc_media_player_t p_mi)
p_mi
- media player
int libvlc_audio_get_track(libvlc_media_player_t p_mi)
p_mi
- media player
int libvlc_audio_set_track(libvlc_media_player_t p_mi, int i_track)
p_mi
- media playeri_track
- the track (int)
int libvlc_audio_get_channel(libvlc_media_player_t p_mi)
p_mi
- media player
int libvlc_audio_set_channel(libvlc_media_player_t p_mi, int channel)
p_mi
- media playerchannel
- the audio channel, @see libvlc_audio_output_channel_t
long libvlc_audio_get_delay(libvlc_media_player_t p_mi)
p_mi
- media player
int libvlc_audio_set_delay(libvlc_media_player_t p_mi, long i_delay)
p_mi
- media playeri_delay
- amount to delay audio by, in microseconds
libvlc_media_list_t libvlc_media_list_new(libvlc_instance_t p_instance)
p_instance
- libvlc instance
void libvlc_media_list_release(libvlc_media_list_t p_ml)
p_ml
- a media list created with libvlc_media_list_new()void libvlc_media_list_retain(libvlc_media_list_t p_ml)
p_ml
- a media list created with libvlc_media_list_new()void libvlc_media_list_set_media(libvlc_media_list_t p_ml, libvlc_media_t p_md)
p_ml
- a media list instancep_md
- media instance to addlibvlc_media_t libvlc_media_list_media(libvlc_media_list_t p_ml)
p_ml
- a media list instance
int libvlc_media_list_add_media(libvlc_media_list_t p_ml, libvlc_media_t p_md)
p_ml
- a media list instancep_md
- a media instance
int libvlc_media_list_insert_media(libvlc_media_list_t p_ml, libvlc_media_t p_md, int i_pos)
p_ml
- a media list instancep_md
- a media instancei_pos
- position in array where to insert
int libvlc_media_list_remove_index(libvlc_media_list_t p_ml, int i_pos)
p_ml
- a media list instancei_pos
- position in array where to insert
int libvlc_media_list_count(libvlc_media_list_t p_ml)
p_ml
- a media list instance
libvlc_media_t libvlc_media_list_item_at_index(libvlc_media_list_t p_ml, int i_pos)
p_ml
- a media list instancei_pos
- position in array where to insert
int libvlc_media_list_index_of_item(libvlc_media_list_t p_ml, libvlc_media_t p_md)
p_ml
- a media list instancep_md
- media list instance
int libvlc_media_list_is_readonly(libvlc_media_list_t p_ml)
p_ml
- media list instance
void libvlc_media_list_lock(libvlc_media_list_t p_ml)
p_ml
- a media list instancevoid libvlc_media_list_unlock(libvlc_media_list_t p_ml)
p_ml
- a media list instancelibvlc_event_manager_t libvlc_media_list_event_manager(libvlc_media_list_t p_ml)
p_ml
- a media list instance
libvlc_media_list_player_t libvlc_media_list_player_new(libvlc_instance_t p_instance)
p_instance
- libvlc instance
void libvlc_media_list_player_release(libvlc_media_list_player_t p_mlp)
p_mlp
- media list player instancelibvlc_event_manager_t libvlc_media_list_player_event_manager(libvlc_media_list_player_t p_mlp)
p_mlp
- media list player instance
void libvlc_media_list_player_set_media_player(libvlc_media_list_player_t p_mlp, libvlc_media_player_t p_mi)
p_mlp
- media list player instancep_mi
- media player instancevoid libvlc_media_list_player_set_media_list(libvlc_media_list_player_t p_mlp, libvlc_media_list_t p_mlist)
p_mlp
- media list player instancep_mlist
- list of mediavoid libvlc_media_list_player_play(libvlc_media_list_player_t p_mlp)
p_mlp
- media list player instancevoid libvlc_media_list_player_pause(libvlc_media_list_player_t p_mlp)
p_mlp
- media list player instanceint libvlc_media_list_player_is_playing(libvlc_media_list_player_t p_mlp)
p_mlp
- media list player instance
libvlc_state_t libvlc_media_list_player_get_state(libvlc_media_list_player_t p_mlp)
p_mlp
- media list player instance
int libvlc_media_list_player_play_item_at_index(libvlc_media_list_player_t p_mlp, int i_index)
p_mlp
- media list player instancei_index
- index in media list to play
int libvlc_media_list_player_play_item(libvlc_media_list_player_t p_mlp, libvlc_media_t p_md)
p_mlp
- media list player instancep_md
- the media instance
void libvlc_media_list_player_stop(libvlc_media_list_player_t p_mlp)
p_mlp
- media list player instanceint libvlc_media_list_player_next(libvlc_media_list_player_t p_mlp)
p_mlp
- media list player instance
int libvlc_media_list_player_previous(libvlc_media_list_player_t p_mlp)
p_mlp
- media list player instance
void libvlc_media_list_player_set_playback_mode(libvlc_media_list_player_t p_mlp, int e_mode)
p_mlp
- media list player instancee_mode
- playback mode specification
|
(C)2010 Caprica Software Limited | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |