kaudioplaystream.cpp
40 KAudioPlayStreamPrivate::KAudioPlayStreamPrivate( KArtsServer* server, const TQString title, TQObject* p, const char* n )
85 KAudioPlayStream::KAudioPlayStream( KArtsServer* server, const TQString title, TQObject* p, const char* n )
107 kdDebug( 400 ) << k_funcinfo << "samplingRate: " << samplingRate << " bits: " << bits << " channels: " << channels << endl;
114 d->_sender = new KByteSoundProducer( this, d->_server->server().minStreamBufferTime(), samplingRate, bits, channels, "PS" );
174 KByteSoundProducer::KByteSoundProducer( KAudioPlayStream* impl, float minBufferTime, int rate, int bits, int channels, const char * title )
189 //kdDebug( 400 ) << k_funcinfo << "_packets:" << _packets << " packetCapacity:" << packetCapacity << endl;
KArtsServer is a wrapper to conveniently get a reference to a SoundServer, and restart artsd when nec...
Definition: kartsserver.h:38
A wrapper around ByteSoundProducer/ByteStreamToAudio/Synth_AMAN_PLAY.
Definition: kaudioplaystream.h:42
void setPolling(bool)
Controls wether this Stream should poll the data from you via the signal requestData() or you use wri...
Definition: kaudioplaystream.cpp:96
Arts::StereoEffectStack effectStack() const
Definition: kaudioplaystream.cpp:101
KAudioPlayStream(KArtsServer *server, const TQString title, TQObject *parent=0, const char *name=0)
Creates a KAudioPlayStream on server with a title.
Definition: kaudioplaystream.cpp:85
void fillData(Arts::DataPacket< Arts::mcopbyte > *packet)
Definition: kaudioplaystream.cpp:154
void requestData(TQByteArray &)
This signal is emitted when audio should be played.
void start(int samplingRate, int bits, int channels)
Start the stream.
Definition: kaudioplaystream.cpp:105
kdbgstream kdFatal(int area=0)
kndbgstream & endl(kndbgstream &s)
kdbgstream kdWarning(int area=0)
kdbgstream kdDebug(int area=0)