Diffstat (limited to 'core/multimedia/opieplayer/libflash/libflashplugin.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/libflash/libflashplugin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/libflash/libflashplugin.h b/core/multimedia/opieplayer/libflash/libflashplugin.h index 532bca2..a2f1c42 100644 --- a/core/multimedia/opieplayer/libflash/libflashplugin.h +++ b/core/multimedia/opieplayer/libflash/libflashplugin.h | |||
@@ -19,17 +19,18 @@ | |||
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #ifndef LIBFLASH_PLUGIN_H | 20 | #ifndef LIBFLASH_PLUGIN_H |
21 | #define LIBFLASH_PLUGIN_H | 21 | #define LIBFLASH_PLUGIN_H |
22 | 22 | ||
23 | 23 | ||
24 | #include <qstring.h> | 24 | #include <qstring.h> |
25 | #include <qapplication.h> | 25 | #include <qapplication.h> |
26 | #include "flash.h" | 26 | #include "flash.h" |
27 | #include "mediaplayerplugininterface.h" | 27 | //#include <qpe/mediaplayerplugininterface.h> |
28 | #include "../mediaplayerplugininterface.h" | ||
28 | 29 | ||
29 | 30 | ||
30 | class LibFlashPlugin : public MediaPlayerDecoder { | 31 | class LibFlashPlugin : public MediaPlayerDecoder { |
31 | 32 | ||
32 | public: | 33 | public: |
33 | LibFlashPlugin(); | 34 | LibFlashPlugin(); |
34 | ~LibFlashPlugin() { close(); } | 35 | ~LibFlashPlugin() { close(); } |
35 | 36 | ||
@@ -43,16 +44,17 @@ public: | |||
43 | bool isOpen() { return file != NULL; } | 44 | bool isOpen() { return file != NULL; } |
44 | const QString &fileInfo() { return strInfo = qApp->translate( "MediaPlayer", "No Information Available", "media plugin text" ); } | 45 | const QString &fileInfo() { return strInfo = qApp->translate( "MediaPlayer", "No Information Available", "media plugin text" ); } |
45 | 46 | ||
46 | // If decoder doesn't support audio then return 0 here | 47 | // If decoder doesn't support audio then return 0 here |
47 | int audioStreams() { return 1; } | 48 | int audioStreams() { return 1; } |
48 | int audioChannels( int /*stream*/ ) { return 2; } | 49 | int audioChannels( int /*stream*/ ) { return 2; } |
49 | int audioFrequency( int /*stream*/ ) { return 44100; } | 50 | int audioFrequency( int /*stream*/ ) { return 44100; } |
50 | int audioSamples( int /*stream*/ ) { return 1000000; } | 51 | int audioSamples( int /*stream*/ ) { return 1000000; } |
52 | int audioBitsPerSample(int) { return 0;} | ||
51 | bool audioSetSample( long sample, int stream ); | 53 | bool audioSetSample( long sample, int stream ); |
52 | long audioGetSample( int stream ); | 54 | long audioGetSample( int stream ); |
53 | //bool audioReadMonoSamples( short *output, long samples, long& samplesRead, int stream ); | 55 | //bool audioReadMonoSamples( short *output, long samples, long& samplesRead, int stream ); |
54 | //bool audioReadStereoSamples( short *output, long samples, long& samplesRead, int stream ); | 56 | //bool audioReadStereoSamples( short *output, long samples, long& samplesRead, int stream ); |
55 | bool audioReadSamples( short *output, int channels, long samples, long& samplesRead, int stream ); | 57 | bool audioReadSamples( short *output, int channels, long samples, long& samplesRead, int stream ); |
56 | //bool audioReadSamples( short *output, int channel, long samples, int stream ); | 58 | //bool audioReadSamples( short *output, int channel, long samples, int stream ); |
57 | //bool audioReReadSamples( short *output, int channel, long samples, int stream ); | 59 | //bool audioReReadSamples( short *output, int channel, long samples, int stream ); |
58 | 60 | ||