Copyright (C) 2000-2012 |
Manpages Engine managementSection: C Library Functions (3)Updated: 15 Oct 2001 Index Return to Main Contents NAMEEngine management -Defines
Functions
DEFINE DOCUMENTATION#define SPEED_FAST_2 8Playback at 200% speed. See also: xine_set_speed(), xine_get_speed() #define SPEED_FAST_4 16Playback at 400% speed. See also: xine_set_speed(), xine_get_speed() #define SPEED_NORMAL 4Playback at 100% speed. See also: xine_set_speed(), xine_get_speed() #define SPEED_PAUSE 0Playback pause. See also: xine_set_speed(), xine_get_speed() #define SPEED_SLOW_2 2Playback at 50% speed. See also: xine_set_speed(), xine_get_speed() #define SPEED_SLOW_4 1Playback at 25% speed. See also: xine_set_speed(), xine_get_speed() FUNCTION DOCUMENTATIONint xine_eject (xine_t * self)Eject media. Parameters:
Returns: 1 on success, 0 on failure. Tell current input plugin to eject media. Parameters:
int xine_get_audio_channel (xine_t * self)Get current audio channel. Parameters:
Returns: Current audio chennel Get current audio channel. Parameters:
int xine_get_av_offset (xine_t * self)Get audio/video sync. Parameters:
Returns: Current audio/video offset. Return the current audio/video sync offset ( see xine_set_av_offset() ). Parameters:
int xine_get_current_position (xine_t * self)Get current position. Parameters:
Returns: Current position ( 0..65535 ) Get current position in stream. Parameters:
int xine_get_current_time (xine_t * self)get current pos in seconds. Parameters:
Returns: current position measured in seconds from the beginning of the stream get current position measured in seconds from the beginning of the stream Parameters:
int xine_get_speed (xine_t * self)Get the playback speed. Parameters:
Returns: speed value ( see SPEED_PAUSE, SPEED_SLOW_4, SPEED_SLOW_2, SPEED_NORMAL, SPEED_FAST_2, SPEED_FAST_4 ) Get the current speed playback. Possible values are SPEED_PAUSE, SPEED_SLOW_4, SPEED_SLOW_2, SPEED_NORMAL, SPEED_FAST_2, SPEED_FAST_4. Parameters:
int xine_get_spu_channel (xine_t * self)Get current sub-title channel. Parameters:
Returns: Current sub-title channel Get current sub-title channel. Parameters:
int xine_get_status (xine_t * self)Get current xine status. Parameters:
Returns: Current status ( see Player status constants ) Return the current state of xine engine. Parameters:
int xine_get_stream_length (xine_t * self)estimate length of input stream in seconds. Parameters:
Returns: length of input stream in seconds or 0 if stream is not seekable estimate length of input stream in seconds Parameters:
void xine_play (xine_t * self, char * MRL, int start_pos, int start_time)Start to play a stream. Parameters:
Returns: Nothing Open a stream and play it. If both start position parameters are !=0 start_pos will be used for non-seekable streams both values will be ignored Parameters:
void xine_select_audio_channel (xine_t * self, int channel)Set audio channel. Parameters:
Returns: Nothing Set desired audio channel. Parameters:
void xine_select_spu_channel (xine_t * self, int channel)Set sub-title channel. Parameters:
Returns: Nothing Set desired sub-title channel. Parameters:
void xine_set_av_offset (xine_t * self, int offset_pts)Set audio/video sync. Parameters:
Returns: Nothing Set audio/video sync offset, according to offset_pts value ( see xine_get_av_offset() ). Parameters:
void xine_set_speed (xine_t * self, int speed)Set playback speed. Parameters:
Returns: Nothing Set the playback speed to desired speed, according of SPEED_x constant. Parameters:
void xine_stop (xine_t * self)Stop playing. Parameters:
Returns: Nothing Stop the playback. Parameters:
Index
This document was created by man2html, using the manual pages. Time: 05:21:07 GMT, April 27, 2024 |