[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-announce
Subject:    aRts C API ready!
From:       Stefan Westerfeld <stefan () space ! twc ! de>
Date:       2000-04-24 19:51:13
[Download RAW message or body]

   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 *-

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic