Setting volume for an individual file playback

Matthias Kretz kretz at kde.org
Sat May 8 13:38:01 BST 2004


On Sunday 02 May 2004 19:28, David Jarvie wrote:
> How can I set the volume using Arts library calls so that only the file
> which my program is playing back is affected, with other applications'
> volumes unaffected?

You need to use a volume control object before sending the sound to the 
soundserver.
You might want to take a look at the artsplayer class in JuK to get an idea of 
how to do it.

-- 
C'ya
        Matthias
________________________________________________________
Matthias Kretz (Germany)                          <><
http://Vir.homeip.net/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20040508/d9bac9b6/attachment.sig>
-------------- next part --------------
_______________________________________________
kde-multimedia mailing list
kde-multimedia at kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia


More information about the kde-multimedia mailing list