[Kde-games-devel] Sound latency problem
Wolfgang Rohdewald
wolfgang at rohdewald.de
Wed Apr 21 21:22:40 CEST 2010
On Mittwoch 21 April 2010, Andreas Scherf wrote:
> i played around with phonon and read some text about it. I
> decided to use a new MediaObject for each sound i want to
> play.
> Now i cache the sound on startupd with
> soundObject->cacheSound("xyz.wav"). After that the result is
> much better. Maybee you could have a look on it and tell me
> what you think.
that looks interesting. I will copy that to python and
see if it helps me too, but probably only in a few days.
The code is not yet polished, is it? I see code duplication
for the caching, and I wonder why cacheSound needs to be
public since playSound always caches anyway.
--
Wolfgang
More information about the kde-games-devel
mailing list