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 Methods | |
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 |
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.
Definition at line 85 of file kaudioplaystream.cpp. |
|
Destructs the KAudioPlayStream.
Definition at line 91 of file kaudioplaystream.cpp. |
Member Function Documentation
|
Controls wether this Stream should poll the data from you via the signal.
Definition at line 96 of file kaudioplaystream.cpp. |
|
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 running(). |
|
Stops the stream.
Definition at line 128 of file kaudioplaystream.cpp. References running(). |
|
Write data into the inputbuffer. If you ignore the signal
Definition at line 150 of file kaudioplaystream.cpp. |
|
This signal is emitted when audio should be played. You have to fill the array with data. |
|
Is emitted when the state changes.
|
|
Is emitted if the inputbuffer runs dry and polling os off.
|
The documentation for this class was generated from the following files: