KAudioPlayStream Class Reference
A wrapper around ByteSoundProducer/ByteStreamToAudio/Synth_AMAN_PLAY. More...
#include <kaudioplaystream.h>
Inheritance diagram for KAudioPlayStream:


Public Slots | |
void | start (int samplingRate, int bits, int channels) |
void | stop () |
void | write (QByteArray &data) |
Signals | |
void | requestData (QByteArray &) |
void | running (bool) |
void | noData () |
Public Member Functions | |
KAudioPlayStream (KArtsServer *server, const QString title, QObject *parent=0, const char *name=0) | |
~KAudioPlayStream () | |
void | setPolling (bool) |
bool | polling () const |
bool | running () const |
Arts::StereoEffectStack | effectStack () const |
void | fillData (Arts::DataPacket< Arts::mcopbyte > *packet) |
Detailed Description
A wrapper around ByteSoundProducer/ByteStreamToAudio/Synth_AMAN_PLAY.
- Author:
- Arnold Krille <arnold@arnoldarts.de>
- Since:
- 3.2
Definition at line 40 of file kaudioplaystream.h.
Constructor & Destructor Documentation
|
Creates a KAudioPlayStream on server with a title. You should pass the KArtsServer also as parent to be sure this object is deleted before the server is.
References endl(), k_funcinfo, and kdDebug(). |
|
Destructs the KAudioPlayStream. Definition at line 91 of file kaudioplaystream.cpp. References endl(), k_funcinfo, and kdDebug(). |
Member Function Documentation
|
Controls wether this Stream should poll the data from you via the signal.
|
|
Returns the polling state.
|
|
|
|
|
|
Start the stream.
References endl(), k_funcinfo, kdDebug(), and running(). |
|
Stops the stream. Definition at line 128 of file kaudioplaystream.cpp. References endl(), k_funcinfo, kdDebug(), and running(). |
|
Write data into the inputbuffer. If you ignore the signal
|
|
This signal is emitted when audio should be played. You have to fill the array with data. Referenced by fillData(). |
|
Is emitted when the state changes.
|
|
Is emitted if the inputbuffer runs dry and polling os off.
|
|
TODO: Implement a queue and fetching from it... Definition at line 154 of file kaudioplaystream.cpp. References requestData(). |
The documentation for this class was generated from the following files: