summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-08-17 16:15:36 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-08-17 16:15:36 +0000
commit31f9517d0a924c20dae8b9c6d5cc839c48b0311a (patch)
treec145ac68c73ccf9c2b2ea212177aa10a4d05bd93 /include
parente48313f4507bd8c37b31ac0ccd7fe74128c7b6ed (diff)
downloadxine-lib-31f9517d0a924c20dae8b9c6d5cc839c48b0311a.tar.gz
xine-lib-31f9517d0a924c20dae8b9c6d5cc839c48b0311a.tar.bz2
Add xine_seek() and friends.
CVS patchset: 446 CVS date: 2001/08/17 16:15:36
Diffstat (limited to 'include')
-rw-r--r--include/xine.h.tmpl.in23
1 files changed, 21 insertions, 2 deletions
diff --git a/include/xine.h.tmpl.in b/include/xine.h.tmpl.in
index ef320a200..b91de236b 100644
--- a/include/xine.h.tmpl.in
+++ b/include/xine.h.tmpl.in
@@ -28,7 +28,7 @@
\endverbatim
*/
/*
- * $Id: xine.h.tmpl.in,v 1.35 2001/07/26 12:11:17 f1rmb Exp $
+ * $Id: xine.h.tmpl.in,v 1.36 2001/08/17 16:15:36 f1rmb Exp $
*
*/
@@ -111,7 +111,13 @@ extern "C" {
* Quit status.
* \sa xine_get_status()
*/
-#define XINE_QUIT 3
+#define XINE_SEEK 3
+/**
+ * \def XINE_QUIT
+ * Quit status.
+ * \sa xine_get_status()
+ */
+#define XINE_QUIT 4
/** @} end of status_group */
@@ -613,6 +619,19 @@ void xine_exit (xine_t *self);
void xine_play (xine_t *self, char *MRL, int pos);
/**
+ * \fn void xine_seek (xine_t *self, char *MRL, int pos)
+ * \brief Seek a stream to pos
+ * \param self Current xine engine configuration ( #see xine_init() )
+ * \param MRL Media Resource Location to open
+ * \param pos Start from position (0..65535)
+ * \return Nothing
+ *
+ * Seek (already opened) stream and play it.
+ *
+ */
+void xine_seek (xine_t *self, char *MRL, int pos);
+
+/**
* \fn void xine_pause (xine_t *self)
* \brief Pause toggle
* \param self Current xine engine configuration ( #see xine_init() )