xine logo
Main Page   Modules   Data Structures   File List   Data Fields   Globals  

Engine management


Functions

void xine_play (xine_t *self, char *MRL, int pos)
 Start to play a stream.

void xine_pause (xine_t *self)
 Pause toggle.

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_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.


Function Documentation

int xine_eject ( xine_t * self )
 

Eject media.

Parameters:
self   Current xine engine configuration ( see xine_init() )
Returns:
1 on success, 0 on failure.

Tell current input plugin to eject media.
Parameters:
self  

int xine_get_audio_channel ( xine_t * self )
 

Get current audio channel.

Parameters:
self   Current xine engine configuration ( see xine_init() )
Returns:
Current audio chennel

Get current audio channel.
Parameters:
self  

int xine_get_current_position ( xine_t * self )
 

Get current position.

Parameters:
self   Current xine engine configuration ( see xine_init() )
Returns:
Current position ( 0..65535 )

Get current position in stream.
Parameters:
self  

int xine_get_spu_channel ( xine_t * self )
 

Get current sub-title channel.

Parameters:
self   Current xine engine configuration ( see xine_init() )
Returns:
Current sub-title channel

Get current sub-title channel.
Parameters:
self  

int xine_get_status ( xine_t * self )
 

Get current xine status.

Parameters:
self   Current xine engine configuration ( see xine_init() )
Returns:
Current status ( see Player status constants )

Return the current state of xine engine.
Parameters:
self  

void xine_pause ( xine_t * self )
 

Pause toggle.

Parameters:
self   Current xine engine configuration ( see xine_init() )
Returns:
Nothing

Toggle pause mode.
Parameters:
self  

void xine_play ( xine_t * self,
char * MRL,
int pos )
 

Start to play a stream.

Parameters:
self   Current xine engine configuration ( see xine_init() )
MRL   Media Resource Location to open
pos   Start from position (0..65535)
Returns:
Nothing

Open a stream and play it
Parameters:
self  
MRL  
pos  

void xine_select_audio_channel ( xine_t * self,
int channel )
 

Set audio channel.

Parameters:
self   Current xine engine configuration ( see xine_init() )
Returns:
Nothing

Set desired audio channel.
Parameters:
self  
channel  

void xine_select_spu_channel ( xine_t * self,
int channel )
 

Set sub-title channel.

Parameters:
self   Current xine engine configuration ( see xine_init() )
Returns:
Nothing

Set desired sub-title channel.
Parameters:
self  
channel  

void xine_stop ( xine_t * self )
 

Stop playing.

Parameters:
self   Current xine engine configuration ( see xine_init() )
Returns:
Nothing

Stop the playback.
Parameters:
self  


Generated at Thu Jul 26 11:29:46 2001 for XINE, A Free Video Player Project - API reference by doxygen1.2.8 written by Dimitri van Heesch, © 1997-2001