kaudioplaystream.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef KAUDIOPLAYSTREAM_H
00021
#define KAUDIOPLAYSTREAM_H
00022
00023
#include <qobject.h>
00024
00025
#include <qcstring.h>
00026
#include <stdsynthmodule.h>
00027
00028
#include <kdelibs_export.h>
00029
00030
class KArtsServer;
00031
namespace Arts {
class StereoEffectStack; }
00032
00033
class KAudioPlayStreamPrivate;
00034
00042 class KDE_ARTS_EXPORT KAudioPlayStream :
public QObject {
00043 Q_OBJECT
00044
public:
00053 KAudioPlayStream(
KArtsServer* server,
const QString title,
QObject* parent=0,
const char* name=0 );
00057 ~KAudioPlayStream();
00058
00065
void setPolling(
bool );
00070
bool polling()
const;
00071
00075
bool running()
const;
00076
00080 Arts::StereoEffectStack effectStack()
const;
00081
public slots:
00088
void start(
int samplingRate,
int bits,
int channels );
00092
void stop();
00093
00098
void write(
QByteArray& data );
00099 signals:
00104
void requestData(
QByteArray& );
00105
00109
void running(
bool );
00110
00114
void noData();
00115
public:
00119
void fillData( Arts::DataPacket<Arts::mcopbyte> *packet );
00120
private:
00121 KAudioPlayStreamPrivate* d;
00122 };
00123
00124
#endif // KAUDIOPLAYSTREAM_H
00125
00126
This file is part of the documentation for arts Library Version 3.4.0.