WAV file and loop

Guillaume Zin <[email protected]> Sat, 4 Apr 2009 14:49:33 +0200
Newsgroups gmane.comp.video.xine.user
Message-ID <[email protected]>
Hello,

I'm programming a little game using Qt 4, Phonon as multimedia framework and 
Xine as Phonon backend. I need to loop a sound for the background music. It is 
a short WAV file (a few seconds length). It doesn't work very well because when 
the music loops, it doesn't restart really at the beginning but about one 
second after. I thought it was a programming mistake or a bug in Phonon but it 
behaves exactly the same with the Xine player with loop enabled.

Any idea how to have a "perfect" loop?

Qt is V4.4.3, Xine is V0.99.6CVS, Xine Phonon backend version is V0.2.60, my 
Linux distrib is Kubuntu 8.10 64bits with an update to the last KDE packages 
(4.2.2).

Thank you for your suggestions.

Guillaume

------------------------------------------------------------------------------