how to add sounds to games

kleag at free.fr kleag at free.fr
Wed Sep 5 18:45:08 BST 2018


Hi,

In ksirk, I use Phonon MediaObject with Phonon::NotificationCategory. But the latency is effectively high.

It does not need to be real time, though. 

Regards,

Gaël

----- Mail original -----
> De: "Albert Astals Cid" <aacid at kde.org>
> À: kde-games-devel at kde.org
> Envoyé: Lundi 3 Septembre 2018 21:24:24
> Objet: Re: how to add sounds to games
> 
> El diumenge, 2 de setembre de 2018, a les 20:28:29 CEST, Alexander
> Semke va escriure:
> > Hi,
> > 
> > in Knights I'd like to add some sounds for moves, checks and mates.
> > How is
> > this is usually done in KDE games or in KDE applications in
> > general?
> 
> One option is KNotify, but it's sometimes too high lately so you
> probably want to have a look at KgSound in libkdegames.
> 
> 
> > On openSUSE I see couple of notification sound files
> > /usr/share/sounds/KDE-*
> > and /usr/share/sounds/freedesktop/*. I could maybe use some of them
> > but I'm
> > not sure they are available everywhere. Is there any set of
> > "default sounds
> > for games"?
> 
> Not that i know.
> 
> Cheers,
>   Albert
> 
> > 
> > Thanks and Regards,
> > Alexander
> > 
> > 
> > 
> 
> 
> 
> 
> 


More information about the kde-games-devel mailing list