diff options
Diffstat (limited to 'include/xine.h')
-rw-r--r-- | include/xine.h | 74 |
1 files changed, 44 insertions, 30 deletions
diff --git a/include/xine.h b/include/xine.h index 02b49acdc..29c9d6429 100644 --- a/include/xine.h +++ b/include/xine.h @@ -265,7 +265,7 @@ void xine_dispose (xine_stream_t *stream) XINE_PROTECTED; */ void xine_engine_set_param(xine_t *self, int param, int value) XINE_PROTECTED; int xine_engine_get_param(xine_t *self, int param) XINE_PROTECTED; - + #define XINE_ENGINE_PARAM_VERBOSITY 1 /* @@ -307,7 +307,7 @@ int xine_get_param (xine_stream_t *stream, int param) XINE_PROTECTED; #define XINE_PARAM_EQ_16000HZ 27 /* equalizer gains -100..100 */ #define XINE_PARAM_AUDIO_CLOSE_DEVICE 28 /* force closing audio device */ #define XINE_PARAM_AUDIO_AMP_MUTE 29 /* 1=>mute, 0=>unmute */ -#define XINE_PARAM_FINE_SPEED 30 /* 1.000.000 => normal speed */ +#define XINE_PARAM_FINE_SPEED 30 /* 1.000.000 => normal speed */ #define XINE_PARAM_EARLY_FINISHED_EVENT 31 /* send event when demux finish*/ #define XINE_PARAM_GAPLESS_SWITCH 32 /* next stream only gapless swi*/ #define XINE_PARAM_DELAY_FINISHED_EVENT 33 /* 1/10sec,0=>disable,-1=>forev*/ @@ -325,7 +325,7 @@ int xine_get_param (xine_stream_t *stream, int param) XINE_PROTECTED; #define XINE_SPEED_NORMAL 4 #define XINE_SPEED_FAST_2 8 #define XINE_SPEED_FAST_4 16 - + /* normal speed value for XINE_PARAM_FINE_SPEED parameter */ #define XINE_FINE_SPEED_NORMAL 1000000 @@ -387,7 +387,7 @@ int xine_get_param (xine_stream_t *stream, int param) XINE_PROTECTED; * image format can be YUV 4:2:0 or 4:2:2 * will copy the image data into memory that <img> points to * (interleaved for yuv 4:2:2 or planary for 4:2:0) - * + * * xine_get_current_frame() requires that <img> must be able * to hold the image data. Use a NULL pointer to retrieve the * necessary parameters for calculating the buffer size. Be @@ -401,7 +401,7 @@ int xine_get_param (xine_stream_t *stream, int param) XINE_PROTECTED; * xine_get_current_frame_alloc() takes care of allocating * a buffer on its own, so image data can be retrieved by * a single call without the need to pause the stream. - * + * * xine_get_current_frame_data() passes the parameters of the * previously mentioned functions plus further information in * a structure and can work like the _s or _alloc function @@ -548,18 +548,18 @@ struct xine_post_s { * pass them to the initialization of streams */ xine_audio_port_t **audio_input; - + /* a NULL-terminated array of video input ports this post plugin * provides; you can hand these to other post plugin's outputs or * pass them to the initialization of streams */ xine_video_port_t **video_input; - + /* the type of the post plugin * one of XINE_POST_TYPE_* can be used here */ int type; - + }; /* @@ -599,25 +599,25 @@ struct xine_post_in_s { /* the name identifying this input */ const char *name; - + /* the data pointer; input is directed to this memory location, * so you simply access the pointer to access the input data */ void *data; - + /* the datatype of this input, use one of XINE_POST_DATA_* here */ int type; - + }; struct xine_post_out_s { /* the name identifying this output */ const char *name; - + /* the data pointer; output should be directed to this memory location, * so in the easy case you simply write through the pointer */ void *data; - + /* this function is called, when the output should be redirected * to another input, you sould set the data pointer to direct * any output to this new input; @@ -631,7 +631,7 @@ struct xine_post_out_s { /* the datatype of this output, use one of XINE_POST_DATA_* here */ int type; - + }; /* get a list of all inputs of a post plugin */ @@ -941,7 +941,7 @@ const char *xine_get_meta_info (xine_stream_t *stream, int info) XINE_PROTECTE #define XINE_META_INFO_ARTIST 2 #define XINE_META_INFO_GENRE 3 #define XINE_META_INFO_ALBUM 4 -#define XINE_META_INFO_YEAR 5 +#define XINE_META_INFO_YEAR 5 /* may be full date */ #define XINE_META_INFO_VIDEOCODEC 6 #define XINE_META_INFO_AUDIOCODEC 7 #define XINE_META_INFO_SYSTEMLAYER 8 @@ -949,6 +949,20 @@ const char *xine_get_meta_info (xine_stream_t *stream, int info) XINE_PROTECTE #define XINE_META_INFO_CDINDEX_DISCID 10 #define XINE_META_INFO_TRACK_NUMBER 11 #define XINE_META_INFO_COMPOSER 12 +/* post-1.1.17; taken from the list at http://age.hobba.nl/audio/mirroredpages/ogg-tagging.html on 2009-12-11 */ +#define XINE_META_INFO_PUBLISHER 13 +#define XINE_META_INFO_COPYRIGHT 14 +#define XINE_META_INFO_LICENSE 15 +#define XINE_META_INFO_ARRANGER 16 +#define XINE_META_INFO_LYRICIST 17 +#define XINE_META_INFO_AUTHOR 18 +#define XINE_META_INFO_CONDUCTOR 19 +#define XINE_META_INFO_PERFORMER 20 +#define XINE_META_INFO_ENSEMBLE 21 +#define XINE_META_INFO_OPUS 22 +#define XINE_META_INFO_PART 23 +#define XINE_META_INFO_PARTNUMBER 24 +#define XINE_META_INFO_LOCATION 25 /********************************************************************* @@ -1362,7 +1376,7 @@ typedef struct { HWND WndHnd; /* handle of window associated with primary surface */ HINSTANCE HInst; /* handle of windows application instance */ - RECT WndRect; /* rect of window client points translated to screen + RECT WndRect; /* rect of window client points translated to screen * cooridnates */ int FullScreen; /* is window fullscreen */ HBRUSH Brush; /* window brush for background color */ @@ -1453,7 +1467,7 @@ xine_health_check_t* xine_health_check(xine_health_check_t*, int check_num) XINE #define XINE_CONFIG_TYPE_NUM 4 #define XINE_CONFIG_TYPE_BOOL 5 -/* For the string type (1.1.4 and later). These are stored in num_value. */ +/* For the string type (1.1.4 and later). These are stored in num_value. */ #define XINE_CONFIG_STRING_IS_STRING 0 #define XINE_CONFIG_STRING_IS_FILENAME 1 #define XINE_CONFIG_STRING_IS_DEVICE_NAME 2 @@ -1836,8 +1850,8 @@ typedef struct { * mrl reference data is sent by demuxers when a reference stream is found. * this stream just contains pointers (urls) to the real data, which are * passed to frontend using this event type. (examples: .asx, .mov and .ram) - * - * ideally, frontends should add these mrls to a "hierarchical playlist". + * + * ideally, frontends should add these mrls to a "hierarchical playlist". * that is, instead of the original file, the ones provided here should be * played instead. on pratice, just using a simple playlist should work. * @@ -1853,7 +1867,7 @@ typedef struct { * 2) http://another/another.avi * * 1 and 2 are the original items on this playlist. 1a and 1b were received - * by events (they are the mrl references enclosed in 1). 1a is played after + * by events (they are the mrl references enclosed in 1). 1a is played after * receiving the finished event from 1. note: 1b is usually ignored, it should * only be used in case 1a fails to open. * @@ -1873,12 +1887,12 @@ typedef struct { /*const char title[]; ** immediately follows MRL's terminating NUL */ } xine_mrl_reference_data_ext_t; -/* +/* * configuration options for video4linux-like input plugins */ typedef struct { /* input selection */ - int input; /* select active input from card */ + int input; /* select active input from card */ int channel; /* channel number */ int radio; /* ask for a radio channel */ uint32_t frequency; /* frequency divided by 62.5KHz or 62.5 Hz */ @@ -1895,13 +1909,13 @@ typedef struct { int frame_height; /* scaled frame height */ /* let some spare space so we can add new fields without breaking - * binary api compatibility. + * binary api compatibility. */ uint32_t spare[20]; /* used by pvr plugin */ int32_t session_id; /* -1 stops pvr recording */ - + } xine_set_v4l2_data_t; /* @@ -1918,7 +1932,7 @@ typedef struct { int gop_closure; /* open/closed GOP */ int b_frames; /* number of B frames to use */ int aspect_ratio; /* XINE_VO_ASPECT_xxx */ - + /* let some spare space so we can add new fields without breaking * binary api compatibility. */ @@ -1933,7 +1947,7 @@ typedef struct { #ifdef XINE_ENABLE_EXPERIMENTAL_FEATURES -/* +/* * ask pvr to save (ie. do not discard) the current session * see comments on input_pvr.c to understand how it works. */ @@ -1944,7 +1958,7 @@ typedef struct { * 1 = save from last sync point * 2 = save everything on current session */ - int mode; + int mode; int id; char name[256]; /* name for saving, might be longer */ } xine_pvr_save_data_t; @@ -1954,7 +1968,7 @@ typedef struct { * 0 = non realtime * 1 = realtime */ - int mode; + int mode; } xine_pvr_realtime_t; typedef struct { @@ -1985,7 +1999,7 @@ typedef struct { * Defined message types for XINE_EVENT_UI_MESSAGE * This is the mechanism to report async errors from engine. * - * If frontend knows about the XINE_MSG_xxx type it may safely + * If frontend knows about the XINE_MSG_xxx type it may safely * ignore the 'explanation' field and provide its own custom * dialogue to the 'parameters'. * @@ -2112,7 +2126,7 @@ void xine_osd_get_text_size (xine_osd_t *self, const char *text, as 'fontname' here */ int xine_osd_set_font (xine_osd_t *self, const char *fontname, int size) XINE_PROTECTED; -/* +/* * specifying encoding of texts * "" ... means current locale encoding (default) * NULL ... means latin1 |