summaryrefslogtreecommitdiff
path: root/core/multimedia/opieplayer/mediaplayerplugininterface.h
Side-by-side diff
Diffstat (limited to 'core/multimedia/opieplayer/mediaplayerplugininterface.h') (more/less context) (show whitespace changes)
-rw-r--r--core/multimedia/opieplayer/mediaplayerplugininterface.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/core/multimedia/opieplayer/mediaplayerplugininterface.h b/core/multimedia/opieplayer/mediaplayerplugininterface.h
index aeeffde..339b2e4 100644
--- a/core/multimedia/opieplayer/mediaplayerplugininterface.h
+++ b/core/multimedia/opieplayer/mediaplayerplugininterface.h
@@ -20,7 +20,6 @@
#ifndef MEDIA_PLAYER_PLUGIN_INTERFACE_H
#define MEDIA_PLAYER_PLUGIN_INTERFACE_H
-
#include <qpe/qcom.h>
#ifndef QT_NO_COMPONENT
@@ -62,12 +61,7 @@ public:
virtual int audioSamples( int stream ) = 0;
virtual bool audioSetSample( long sample, int stream ) = 0;
virtual long audioGetSample( int stream ) = 0;
-// virtual bool audioReadMonoSamples( short *samples, long samples, long& samplesRead, int stream ) = 0;
-// virtual bool audioReadStereoSamples( short *samples, long samples, long& samplesRead, int stream ) = 0;
virtual bool audioReadSamples( short *samples, int channels, long samples, long& samplesRead, int stream ) = 0;
- // Libmpeg3 functions, perhaps good for reading an audio file with 5 channels or something!
-// virtual bool audioReadSamples( short *samples, int channel, long samples, int stream ) = 0;
-// virtual bool audioReReadSamples( short *samples, int channel, long samples, int stream ) = 0;
// If decoder doesn't support video then return 0 here
virtual int videoStreams() = 0;
@@ -97,6 +91,9 @@ public:
virtual bool supportsStereo() = 0;
virtual bool supportsScaling() = 0;
+ // File Properies
+ virtual long getPlayTime() { return -1; }
+ virtual int audioBitsPerSample( int stream ) = 0;
};