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 42 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.
Definition at line 85 of file kaudioplaystream.cpp. References endl(), k_funcinfo, KAudioPlayStream(), and kdDebug(). Referenced by KAudioPlayStream(). |
|
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.
Definition at line 96 of file kaudioplaystream.cpp. References setPolling(). Referenced by setPolling(). |
|
Returns the polling state.
Definition at line 97 of file kaudioplaystream.cpp. |
|
Definition at line 99 of file kaudioplaystream.cpp. |
|
Definition at line 101 of file kaudioplaystream.cpp. |
|
Start the stream.
Definition at line 105 of file kaudioplaystream.cpp. References endl(), k_funcinfo, kdDebug(), running(), and start(). Referenced by start(). |
|
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
Definition at line 150 of file kaudioplaystream.cpp. References write(). Referenced by write(). |
|
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 fillData(), and requestData(). Referenced by fillData(). |
The documentation for this class was generated from the following files: