Hello. I'm having some serious problems trying to make sound work properly for a Qt c++ game I'm making for Nokia devices... The use case is the following:
Play any sound file (.wav, .mp3, .m4a) usind either qmedia, qsound or phonon. The sound freezes the app for a little time when starting and at the end of the sound.
-Steps to reproduce the problem
Play any sound file (.wav, .mp3, .m4a) usind either qmedia, qsound or phonon.
-Short code snippet
soundPlayer = new QMediaPlayer();
My working environment:
-Version of Qt Creator (e.g. 4.6.3, 4.7 tech preview): Qt Creator 2.2.1 for Qt 4.7.3
-Version of Qt Mobility API (1.0, 1.1): 1.1.3
-Target device model (N8, C7): N8, 5230
Is there a way for have sound files to play instantly and without interfering with a c++ qt game?
I searched first here and couldn't found any solution to this...
Thanks in advance.