mediacontrol.h File Reference

Include dependency graph for mediacontrol.h:

Go to the source code of this file.

Defines

#define VLC_CONTROL_H   1

Typedefs

typedef int WINDOWHANDLE
typedef mediacontrol_Instance mediacontrol_Instance
 mediacontrol_Instance is an opaque structure, defined in mediacontrol_internal.h.

Functions

void mediacontrol_RGBPicture__free (mediacontrol_RGBPicture *pic)
 Free a RGBPicture structure.
void mediacontrol_PlaylistSeq__free (mediacontrol_PlaylistSeq *ps)
void mediacontrol_StreamInformation__free (mediacontrol_StreamInformation *p_si)
 Free a StreamInformation structure.
mediacontrol_Exceptionmediacontrol_exception_create (void)
 Instanciate and initialize an exception structure.
void mediacontrol_exception_init (mediacontrol_Exception *exception)
 Initialize an existing exception structure.
void mediacontrol_exception_cleanup (mediacontrol_Exception *exception)
 Clean up an existing exception structure after use.
void mediacontrol_exception_free (mediacontrol_Exception *exception)
 Free an exception structure created with mediacontrol_exception_create().
mediacontrol_Instancemediacontrol_new (int argc, char **argv, mediacontrol_Exception *exception)
 Create a MediaControl instance with parameters.
mediacontrol_Instancemediacontrol_new_from_instance (libvlc_instance_t *p_instance, mediacontrol_Exception *exception)
 Create a MediaControl instance from an existing libvlc instance.
libvlc_instance_tmediacontrol_get_libvlc_instance (mediacontrol_Instance *self)
 Get the associated libvlc instance.
libvlc_media_player_tmediacontrol_get_media_player (mediacontrol_Instance *self)
 Get the associated libvlc_media_player.
mediacontrol_Positionmediacontrol_get_media_position (mediacontrol_Instance *self, const mediacontrol_PositionOrigin an_origin, const mediacontrol_PositionKey a_key, mediacontrol_Exception *exception)
 Get the current position.
void mediacontrol_set_media_position (mediacontrol_Instance *self, const mediacontrol_Position *a_position, mediacontrol_Exception *exception)
 Set the position.
void mediacontrol_start (mediacontrol_Instance *self, const mediacontrol_Position *a_position, mediacontrol_Exception *exception)
 Play the movie at a given position.
void mediacontrol_pause (mediacontrol_Instance *self, mediacontrol_Exception *exception)
 Pause the movie at a given position.
void mediacontrol_resume (mediacontrol_Instance *self, mediacontrol_Exception *exception)
 Resume the movie at a given position.
void mediacontrol_stop (mediacontrol_Instance *self, mediacontrol_Exception *exception)
 Stop the movie at a given position.
void mediacontrol_exit (mediacontrol_Instance *self)
 Exit the player.
void mediacontrol_set_mrl (mediacontrol_Instance *self, const char *psz_file, mediacontrol_Exception *exception)
 Set the MRL to be played.
char * mediacontrol_get_mrl (mediacontrol_Instance *self, mediacontrol_Exception *exception)
 Get the MRL to be played.
mediacontrol_RGBPicturemediacontrol_snapshot (mediacontrol_Instance *self, const mediacontrol_Position *a_position, mediacontrol_Exception *exception)
 Get a snapshot.
void mediacontrol_display_text (mediacontrol_Instance *self, const char *message, const mediacontrol_Position *begin, const mediacontrol_Position *end, mediacontrol_Exception *exception)
 Displays the message string, between "begin" and "end" positions.
mediacontrol_StreamInformationmediacontrol_get_stream_information (mediacontrol_Instance *self, mediacontrol_PositionKey a_key, mediacontrol_Exception *exception)
 Get information about a stream.
unsigned short mediacontrol_sound_get_volume (mediacontrol_Instance *self, mediacontrol_Exception *exception)
 Get the current audio level, normalized in [0.
void mediacontrol_sound_set_volume (mediacontrol_Instance *self, const unsigned short volume, mediacontrol_Exception *exception)
 Set the audio level.
int mediacontrol_set_visual (mediacontrol_Instance *self, WINDOWHANDLE visual_id, mediacontrol_Exception *exception)
 Set the video output window.
int mediacontrol_get_rate (mediacontrol_Instance *self, mediacontrol_Exception *exception)
 Get the current playing rate, in percent.
void mediacontrol_set_rate (mediacontrol_Instance *self, const int rate, mediacontrol_Exception *exception)
 Set the playing rate, in percent.
int mediacontrol_get_fullscreen (mediacontrol_Instance *self, mediacontrol_Exception *exception)
 Get current fullscreen status.
void mediacontrol_set_fullscreen (mediacontrol_Instance *self, const int b_fullscreen, mediacontrol_Exception *exception)
 Set fullscreen status.


Generated on Wed Aug 13 08:02:39 2008 for VLC by  doxygen 1.5.1