diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-10-14 15:46:48 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-10-14 15:46:48 +0000 |
commit | bcaee71a3a763a545e1f8457aca26dc679462677 (patch) | |
tree | 191c500351cb4073c6d998e6112a6b68f19790f4 /src/xine-engine/metronom.h | |
parent | de10300bdc6457c36598f4287d42c4a5b2e82d71 (diff) | |
download | xine-lib-bcaee71a3a763a545e1f8457aca26dc679462677.tar.gz xine-lib-bcaee71a3a763a545e1f8457aca26dc679462677.tar.bz2 |
introduction of xine_stream_t and async xine events - all still in developement
CVS patchset: 2828
CVS date: 2002/10/14 15:46:48
Diffstat (limited to 'src/xine-engine/metronom.h')
-rw-r--r-- | src/xine-engine/metronom.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/xine-engine/metronom.h b/src/xine-engine/metronom.h index 3fb081b37..77ec59614 100644 --- a/src/xine-engine/metronom.h +++ b/src/xine-engine/metronom.h @@ -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: metronom.h,v 1.36 2002/09/05 22:29:17 mroi Exp $ + * $Id: metronom.h,v 1.37 2002/10/14 15:47:39 guenter Exp $ * * metronom: general pts => virtual calculation/assoc * @@ -51,6 +51,7 @@ extern "C" { #include <sys/time.h> #include <pthread.h> #include "video_out.h" +#include "xine.h" typedef struct metronom_s metronom_t ; typedef struct scr_plugin_s scr_plugin_t; @@ -64,11 +65,6 @@ typedef struct scr_plugin_s scr_plugin_t; struct metronom_s { /* - * pointer to current xine object. a void pointer is used to avoid type declaration clash. - */ - void *xine; - - /* * called by audio output driver to inform metronom about current audio * samplerate * @@ -206,6 +202,11 @@ struct metronom_s { void (*exit) (metronom_t *this); /* + * pointer to current xine stream object. + */ + xine_stream_t *stream; + + /* * metronom internal stuff */ @@ -247,7 +248,7 @@ struct metronom_s { int force_audio_jump; }; -metronom_t *metronom_init (int have_audio, void *xine); +metronom_t *metronom_init (int have_audio, xine_stream_t *stream); /* * metronom options |