summaryrefslogtreecommitdiff
path: root/core/multimedia/opieplayer/libmad/libmadplugin.h
authorharlekin <harlekin>2002-04-20 18:38:39 (UTC)
committer harlekin <harlekin>2002-04-20 18:38:39 (UTC)
commit703c9c483b5e3fa6d2090398d6ee3a5638326b02 (patch) (side-by-side diff)
tree1e965c35afc244ae31f5842047fe27bb2dd3f2cc /core/multimedia/opieplayer/libmad/libmadplugin.h
parent758c9e817087252894b15c6f7476c1f16a02f65d (diff)
downloadopie-703c9c483b5e3fa6d2090398d6ee3a5638326b02.zip
opie-703c9c483b5e3fa6d2090398d6ee3a5638326b02.tar.gz
opie-703c9c483b5e3fa6d2090398d6ee3a5638326b02.tar.bz2
ugly hack for the beginning
Diffstat (limited to 'core/multimedia/opieplayer/libmad/libmadplugin.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/libmad/libmadplugin.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/core/multimedia/opieplayer/libmad/libmadplugin.h b/core/multimedia/opieplayer/libmad/libmadplugin.h
index 46cd4a1..ee1ca9d 100644
--- a/core/multimedia/opieplayer/libmad/libmadplugin.h
+++ b/core/multimedia/opieplayer/libmad/libmadplugin.h
@@ -17,7 +17,7 @@
** not clear to you.
**
**********************************************************************/
-#ifndef LIBMAD_PLUGIN_H
+#ifndef LIBMAD_PLUGIN_H
#define LIBMAD_PLUGIN_H
#include <qstring.h>
@@ -43,13 +43,14 @@ public:
bool isFileSupported( const QString& );
bool open( const QString& );
+
bool close();
bool isOpen();
const QString &fileInfo() { return info; }
// If decoder doesn't support audio then return 0 here
int audioStreams();
- int audioChannels( int stream );
+ int audioChannels( int stream );
int audioFrequency( int stream );
int audioSamples( int stream );
bool audioSetSample( long sample, int stream );
@@ -101,6 +102,10 @@ public:
long getPlayTime() { return -1; }
private:
+ int tcp_open(char *address, int port);
+ int http_read_line(int tcp_sock, char *buf, int size) ;
+ int http_open(const QString& path );
+
LibMadPluginData *d;
QString info;
int bufferSize;