From 7a04855af4e042152a47e90192dc4c2c20858e8c Mon Sep 17 00:00:00 2001 From: harlekin Date: Tue, 24 Sep 2002 20:26:17 +0000 Subject: adapted to the new api --- (limited to 'noncore/multimedia/opieplayer2/lib.h') diff --git a/noncore/multimedia/opieplayer2/lib.h b/noncore/multimedia/opieplayer2/lib.h index b9d0a8a..29adc4d 100644 --- a/noncore/multimedia/opieplayer2/lib.h +++ b/noncore/multimedia/opieplayer2/lib.h @@ -39,6 +39,7 @@ #include #include +//#include "xine.h" class XineVideoWidget; @@ -72,7 +73,17 @@ namespace XINE { void pause()/*const*/; int speed() /*const*/; - void setSpeed( int speed = SPEED_PAUSE ); + + /** + * Set the speed of the stream, if codec supports it + * XINE_SPEED_PAUSE 0 + * XINE_SPEED_SLOW_4 1 + * XINE_SPEED_SLOW_2 2 + * XINE_SPEED_NORMAL 4 + * XINE_SPEED_FAST_2 8 + *XINE_SPEED_FAST_4 16 + */ + void setSpeed( int speed = XINE_SPEED_PAUSE ); int status() /*const*/; @@ -103,6 +114,13 @@ namespace XINE { */ bool isVideoFullScreen()/*const*/ ; + + /** + * Get the meta info (like author etc) from the stream + * + */ + QString metaInfo() ; + /** * */ @@ -133,12 +151,14 @@ namespace XINE { void stopped(); private: int m_bytes_per_pixel; + int m_length, m_pos, m_time; + int m_major_version, m_minor_version, m_sub_version; bool m_video:1; XineVideoWidget *m_wid; xine_t *m_xine; - config_values_t *m_config; - vo_driver_t *m_videoOutput; - ao_driver_t* m_audioOutput; + xine_cfg_entry_t *m_config; + xine_vo_driver_t *m_videoOutput; + xine_ao_driver_t* m_audioOutput; void handleXineEvent( xine_event_t* t ); void drawFrame( uint8_t* frame, int width, int height, int bytes ); -- cgit v0.9.0.2