Looping sounds with arts
Kevin Krammer
kevin.krammer at gmx.at
Sun Jun 29 14:58:46 BST 2003
Hi,
I'd like to ask for you help on playing a sound mote than once, using
aRTs.
I am trying, mostly just for fun :), to implement an aRTs backend for
QSound.
Simple playing was pretty straight forward using a SimpleSoundServer and
PlayObjects.
As you can see in the attached code, my first attempt was to check for
state Arts::posIdle in regular intervals, but it doesn't work (posIdle is
returned while sound is still playing).
Any pointers?
thanks,
Kevin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Krammer <kevin.krammer at gmx.at>
Developer at the Kmud Project http://www.kmud.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sound_arts.cpp
Type: text/x-c++src
Size: 3848 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20030629/3e0d89f8/attachment.cpp>
-------------- 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/20030629/3e0d89f8/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