diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-03-16 21:40:27 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-03-16 21:40:27 +0000 |
commit | adb29283e51b34c10e53dbc70e4ed063dc9737bd (patch) | |
tree | 2ed80d9312a9db692515f467565b80e2a0e99946 /include | |
parent | 79e98f219ece342c1c66ace201683b0d6ab17e96 (diff) | |
download | xine-lib-adb29283e51b34c10e53dbc70e4ed063dc9737bd.tar.gz xine-lib-adb29283e51b34c10e53dbc70e4ed063dc9737bd.tar.bz2 |
add xine_engine_set/get_param() functions. For now, only verbosity is supported. Fix play_internal segfault, if stream->input_plugin is NULL
CVS patchset: 4432
CVS date: 2003/03/16 21:40:27
Diffstat (limited to 'include')
-rw-r--r-- | include/xine.h.in | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/include/xine.h.in b/include/xine.h.in index 4a92721b8..b11668626 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.h.in,v 1.65 2003/03/07 19:04:36 holstsn Exp $ + * $Id: xine.h.in,v 1.66 2003/03/16 21:40:27 f1rmb Exp $ * * public xine-lib (libxine) interface and documentation * @@ -258,7 +258,15 @@ int xine_eject (xine_stream_t *stream); void xine_dispose (xine_stream_t *stream); /* - * set/get xine engine parameters + * set/get engine parameters. + */ +void xine_engine_set_param(xine_t *self, int param, int value); +int xine_engine_get_param(xine_t *self, int param); + +#define XINE_ENGINE_PARAM_VERBOSITY 1 + +/* + * set/get xine stream parameters * e.g. playback speed, constants see below */ void xine_set_param (xine_stream_t *stream, int param, int value); @@ -329,9 +337,9 @@ int xine_get_param (xine_stream_t *stream, int param); #define XINE_DEMUX_EXTENSION_STRATEGY 3 /* verbosity settings */ -#define XINE_VERBOSITY_NONE 0 -#define XINE_VERBOSITY_LOG 1 -#define XINE_VERBOSITY_DEBUG 2 +#define XINE_VERBOSITY_NONE 0 +#define XINE_VERBOSITY_LOG 1 +#define XINE_VERBOSITY_DEBUG 2 /* * snapshot function |