[Kde-games-devel] Sound latency problem

Wolfgang Rohdewald wolfgang at rohdewald.de
Tue Apr 20 00:15:54 CEST 2010


On Montag 19 April 2010, Andreas Scherf wrote:
> Hello,
> i have a problem with the sound latency in kbounce. I added
> some sounds for some events inside the game (ball reflection,
> death and so on). But it takes too long to play the wav file
> vie Phonon. I added a Sound Class wich uses the object with a
> shorter latency time as other games in kdegames too. But this
> does not solve the problem. Some sounds interupzed or did not
> even start properly.


I had the same problem in Kajongg - it seems to be worse with
short audio files. In the end I now start ogg123 as an external
process - that is fast enough for now. But I would like to see
your code - you did not yet commit, did you?

-- 
Wolfgang


More information about the kde-games-devel mailing list