Main Page   Modules   Compound List   File List   Compound Members   File Members  

xlv_core.h File Reference

This include describes the XLV_PlayState object. More...

#include "xlv_plugin_mgr.h"
#include "xlv_session.h"
#include "xlv_handler.h"
#include "xlv_video.h"
#include "xlv_audio.h"
#include "xlv_timer.h"
#include "xlv_codec.h"
#include "xlv_demux.h"
#include <pthread.h>

Go to the source code of this file.

Defines

#define XLV_PLAY_INIT   0
#define XLV_PLAY_STOPPED   1
#define XLV_PLAY_PLAYING   2
#define XLV_PLAY_PAUSED   3
#define XLV_PLAY_SEEKING   4
#define XLV_PLAY_FINISHED   5

Typedefs

typedef _XLV_PlayState XLV_PlayState
 XLV_PlayState object short definition.


Functions

XLV_PlayStatexlv_open_url_play (XLV_Session *session, const gchar *name)
 an XLV_PlayState constructor. More...

XLV_PlayStatexlv_open_play (XLV_Session *session, const gchar *name)
 an XLV_PlayState constructor. More...

XLV_PlayStatexlv_open_play_stream (XLV_Session *session, XLV_Stream *stream)
 an XLV_PlayState constructor. More...

void xlv_close_play (XLV_PlayState *state)
 XLV_PlayState destructor. More...

void xlv_set_video_stream (XLV_PlayState *state, guint stream_no)
 This changes the current video stream used to build the output image. More...

void xlv_set_audio_stream (XLV_PlayState *state, guint stream_no)
 This changes the current video stream used to build the output sound stream. More...

void xlv_setup_video_codec (XLV_PlayState *state)
 Prepare video codec.

void xlv_setup_audio_codec (XLV_PlayState *state)
 Prepare audio codec.

void xlv_setup_video_output (XLV_PlayState *state, XLV_Stream *video_output)
 Specifies which video renderer we must use for the video output. More...

void xlv_setup_audio_output (XLV_PlayState *state, XLV_Stream *audio_output)
 Specifies which audio renderer we must use for the audio output. More...

XLV_Streamxlv_play_get_video_renderer (XLV_PlayState *state)
 Returns the current video renderer. More...

XLV_Streamxlv_play_get_audio_renderer (XLV_PlayState *state)
 Returns the current audio renderer. More...

XLV_Streamxlv_play_get_audio_codec (XLV_PlayState *state)
 Returns the selected audio codec. More...

XLV_Streamxlv_play_get_video_codec (XLV_PlayState *state)
 Returns the selected video codec. More...

gboolean xlv_play_find_system (XLV_PlayState *state)
 find a good demultiplexer for the input stream.

void xlv_prepare_to_play (XLV_PlayState *state)
 Prepare the object to play the input stream.

gboolean xlv_play_start (XLV_PlayState *state)
 Start playing. More...

gboolean xlv_play_stop (XLV_PlayState *state)
 Stop playing. More...

gboolean xlv_play_pause (XLV_PlayState *state)
 Pause. More...

gboolean xlv_play_alive (XLV_PlayState *state)
 Check if the playing is always alive. More...

gboolean xlv_play_paused (XLV_PlayState *state)
 Check if the playing was paused. More...

gfloat xlv_play_get_time_length (XLV_PlayState *state)
 Check the time length of the stream. More...

gfloat xlv_play_get_current_time (XLV_PlayState *state)
 Check the current time. More...

gboolean xlv_play_set_current_time (XLV_PlayState *state, gfloat time)
 Set the current time. More...

guint32 xlv_play_get_audio_bitrate (XLV_PlayState *state)
 Return the input audio bitrate. More...

guint32 xlv_play_get_video_bitrate (XLV_PlayState *state)
 Return the input video bitrate. More...

guint8 xlv_play_get_aq_use (XLV_PlayState *state)
 Return the percentage of the output audio queue used. More...

guint8 xlv_play_get_vq_use (XLV_PlayState *state)
 Return the percentage of the output video queue used. More...


Detailed Description

This include describes the XLV_PlayState object.


Generated on Mon Jul 1 19:39:07 2002 for XLV by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002