AUG
20
2003

Qt-KDE integration

Letting Qt applications user aRts as their sound backend.

Short introduction: currently most of my KDE related time is used to help newbie Qt and KDE developers. When one of the user of www.mrunix.de, a German Unix/Linux developer board, had a problem with Qt sound (didn't have have NAS installed), I decided to try implementing an aRts backend for Qt.

Well, here it is:
http://www.sbox.tugraz.at/home/v/voyager/qsound_arts.tar.bz2
(the implementation is actually only one file, the rest of the archive is the modified qsound example from Qt)

Comments

What did Qt applications use before and what are the advantages of doing this? Sorry, I'm not too familiar with arts or the Qt sound backend.

Anyway, I really really want better integration between Qt and KDE at least file dialog integration, but hopefully a lot more. ;)


By KDE User at Sat, 08/23/2003 - 21:43

What did Qt applications use before and what are the advantages of doing this?.

Qt on X11 uses NAS http://radscan.com/nas.html as the standard audio backend.
Using aRts means you don't have to install and run NAS and you can play sound in Qt apps while aRts has acquired the sounddevice, for example because some system sound just got played through KNotify or noatun is running, etc.

My implementation is merely a proof-of-concept hack, the guys from kdemultimedia could surely do better, for example create PlayObjects for other formats than .wav


By krake at Sun, 08/24/2003 - 13:23