Dany Menko wrote:
Hi, what’s the correct way of playing music on QNX? Wav(16/24/32bit) nor mp3 work. Do you have to specify something? Is it related to codecs?
You have to call the effect file with this method.
you have to preload effect and bgm in advance. Or it will not playing.
I’m using 22050 khz, 16 bit wav. Sometimes the the compression not supported (same WAV format, different compression algorithm maybe..), so you have to try it by yourself.
For the Background Music, you can use mp3 to minimize the build size.