Programming with arts
Arnold Krille
arnold at arnoldarts.de
Sun Sep 14 19:50:13 BST 2003
On Sunday 14 September 2003 19:03, Jorge wrote:
> I'm trying to develop a telephony program on KDE. How do I pass the ttyI
> audio data to the arts server?
\me thinks we are the ones who talked at linuxtag...
> I've programmed a server and for testing purpouses I've redirected the ttyI
> output (uLaw format) through my server to a file called test. Then I've
> written the following code:
If the output you can give is wav (or something similar) you could use artscat
instead of writing an own one. If your programm is using kde, you could use
the (new) class KAudioPlayStream. Unfortunatly it does only support polling
so you have to build your own queue (You will see what I mean if you look at
the code;-) ).
> I've waded through the internet to look for furter information on arts
> programming, but it seems that it's very scarce and incomplete.
For me the help of a friend was the most useful...
Arnold
--
Get my public-key from pgp.mit.edu or pgp.uni-mainz.de
---
Hi, I am a .signature virus. Please copy me into your ~/.signature and send me
to all your contacts.
After a month or so log in as root and do a rm / -rf. Or ask your
administrator to do so...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20030914/d409f4e8/attachment.sig>
-------------- next part --------------
_______________________________________________
kde-multimedia mailing list
kde-multimedia at mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-multimedia
More information about the kde-multimedia
mailing list