char* xine_get_str_version (void)
return string version, like '0.5.0'.
int xine_get_major_version (void)
return version information.
int xine_get_minor_version (void)
return version information.
int xine_get_sub_version (void)
return version information.
int xine_check_version (int major, int minor, int sub)
check minimal version. config_values_t* config_file_init (char *filename)
Configuration file initialisation. xine_t* xine_init (vo_driver_t *vo, ao_driver_t *ao, config_values_t *config, gui_stream_end_cb_t stream_end_cb, gui_get_next_mrl_cb_t get_next_mrl_cb, gui_branched_cb_t branched_cb)
Initialisation of xine.
void xine_exit (xine_t *self)
De-initialisation of xine.
void xine_play (xine_t *self, char *MRL, int start_pos, int start_time)
Start to play a stream.
void xine_set_speed (xine_t *self, int speed)
Set playback speed.
int xine_get_speed (xine_t *self)
Get the playback speed.
void xine_set_av_offset (xine_t *self, int offset_pts)
Set audio/video sync.
int xine_get_av_offset (xine_t *self)
Get audio/video sync.
void xine_stop (xine_t *self)
Stop playing.
int xine_eject (xine_t *self)
Eject media.
int xine_get_status (xine_t *self)
Get current xine status.
int xine_get_current_position (xine_t *self)
Get current position.
int xine_get_current_time (xine_t *self)
get current pos in seconds.
int xine_get_stream_length (xine_t *self)
estimate length of input stream in seconds.
int xine_get_audio_channel (xine_t *self)
Get current audio channel.
void xine_select_audio_channel (xine_t *self, int channel)
Set audio channel.
int xine_get_spu_channel (xine_t *self)
Get current sub-title channel.
void xine_select_spu_channel (xine_t *self, int channel)
Set sub-title channel.
int xine_get_audio_capabilities (xine_t *self)
Get audio driver capabilities.
int xine_get_audio_property (xine_t *self, int property)
Get audio driver property.
int xine_set_audio_property (xine_t *self, int property, int value)
Set audio driver property value.
char** xine_get_browsable_input_plugin_ids (xine_t *self)
Request list of browsable featured plugins. mrl_t** xine_get_browse_mrls (xine_t *self, char *plugin_id, char *start_mrl, int *num_mrls)
Request available MRLs from plugins.
char** xine_get_autoplay_input_plugin_ids (xine_t *self)
Request playlist from plugin.
char** xine_get_autoplay_mrls (xine_t *self, char *plugin_id, int *num_mrls)
Request MRL list from plugin.
char** xine_list_video_output_plugins (int visual_type)
list available video output plugins. vo_driver_t* xine_load_video_output_plugin (config_values_t *config, char *id, int visual_type, void *visual)
load a specific video output plugin.
char** xine_list_audio_output_plugins (void)
generate a list of all available audio output plugins. ao_driver_t* xine_load_audio_output_plugin (config_values_t *config, char *id)
load a specific audio output plugin.
int xine_register_event_listener (xine_t *self, event_listener_t listener)
registers an event listener callback.
int xine_remove_event_listener (xine_t *self, event_listener_t listener)
Attempts to remove a registered event listener.
void xine_send_event (xine_t *self, event_t *event, void *data)
sends an event to all listeners.
int xine_get_current_frame (xine_t *self, int *width, int *height, int *ratio_code, int *format, uint8_t **y, uint8_t **u, uint8_t **v)
Snapshot function.
Copyright (C) 2000-2001 the xine project
This file is part of xine, a unix video player.
xine is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
xine is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA