summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/lib.h
Side-by-side diff
Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/lib.h28
1 files changed, 24 insertions, 4 deletions
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
@@ -41,2 +41,3 @@
#include <xine.h>
+//#include "xine.h"
@@ -74,3 +75,13 @@ namespace XINE {
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 );
@@ -105,2 +116,9 @@ namespace XINE {
+
+ /**
+ * Get the meta info (like author etc) from the stream
+ *
+ */
+ QString metaInfo() ;
+
/**
@@ -135,2 +153,4 @@ namespace XINE {
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;
@@ -138,5 +158,5 @@ namespace XINE {
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;