From kde-announce Mon Apr 24 19:51:13 2000 From: Stefan Westerfeld Date: Mon, 24 Apr 2000 19:51:13 +0000 To: kde-announce Subject: aRts C API ready! X-MARC-Message: https://marc.info/?l=kde-announce&m=95701042205491 Hi! I am happy to announce that the aRts C API - which allows you to access the aRts sound server using plain C - is ready for public use. This means, you can now grab any software package you like and turn it into an aRts aware software package with a few lines of code. ;-) Background: KDE2.0 will use artsd as sound server. A sound server allows you to let many applications use the audio device at the same time. So it allows you do listen to music, while still playing a game. For instance, you can now play Quake and listen to mp3s. And still get an audible notification when you got new email. Of course, this is much more fun when more applications are aRts aware. To show how easy porting is this, I did the port for two apps, namely - Quake (patch against quakeforge-0.1.1) - Mpg123 (patch against mpg123-0.59r) It was really little work (besides writing the API of course). The snd_arts.c driver for quake for instance is the smallest of all sound drivers with about 160 lines of code, which are mostly copied from the other quake sound drivers. The necessary aRts code is in the KDE-2.0 CVS where the other aRts stuff lives. And here is the URL where you can documentation & the patches: http://space.twc.de/~stefan/kde/arts-mcop-doc/artsc.html Any comments to the API or more patches are of course welcome. Cu... Stefan -- -* Stefan Westerfeld, stefan@space.twc.de (PGP!), Hamburg/Germany KDE Developer, project infos at http://space.twc.de/~stefan/kde *-