summaryrefslogtreecommitdiff
path: root/core/multimedia/opieplayer/wavplugin/wavplugin.h
Unidiff
Diffstat (limited to 'core/multimedia/opieplayer/wavplugin/wavplugin.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/wavplugin/wavplugin.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/wavplugin/wavplugin.h b/core/multimedia/opieplayer/wavplugin/wavplugin.h
index 19d1a8e..6ae6e06 100644
--- a/core/multimedia/opieplayer/wavplugin/wavplugin.h
+++ b/core/multimedia/opieplayer/wavplugin/wavplugin.h
@@ -14,18 +14,20 @@
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20// L.J.Potter added changes Fri 02-15-2002
21
20#ifndef WAV_PLUGIN_H 22#ifndef WAV_PLUGIN_H
21#define WAV_PLUGIN_H 23#define WAV_PLUGIN_H
22 24
23#include <qstring.h> 25#include <qstring.h>
24#include <qapplication.h> 26#include <qapplication.h>
25#include <qpe/mediaplayerplugininterface.h> 27#include "../mediaplayerplugininterface.h"
26 28
27 29
28// #define OLD_MEDIAPLAYER_API 30// #define OLD_MEDIAPLAYER_API
29 31
30 32
31class WavPluginData; 33class WavPluginData;
@@ -48,12 +50,13 @@ public:
48 const QString &fileInfo() { return strInfo = ""; } 50 const QString &fileInfo() { return strInfo = ""; }
49 51
50 // If decoder doesn't support audio then return 0 here 52 // If decoder doesn't support audio then return 0 here
51 int audioStreams(); 53 int audioStreams();
52 int audioChannels( int stream ); 54 int audioChannels( int stream );
53 int audioFrequency( int stream ); 55 int audioFrequency( int stream );
56 int audioBitsPerSample( int stream );
54 int audioSamples( int stream ); 57 int audioSamples( int stream );
55 bool audioSetSample( long sample, int stream ); 58 bool audioSetSample( long sample, int stream );
56 long audioGetSample( int stream ); 59 long audioGetSample( int stream );
57#ifdef OLD_MEDIAPLAYER_API 60#ifdef OLD_MEDIAPLAYER_API
58 bool audioReadMonoSamples( short *output, long samples, long& samplesRead, int stream ); 61 bool audioReadMonoSamples( short *output, long samples, long& samplesRead, int stream );
59 bool audioReadStereoSamples( short *output, long samples, long& samplesRead, int stream ); 62 bool audioReadStereoSamples( short *output, long samples, long& samplesRead, int stream );