Background music looping on Marmalade

Hi! I’m trying to get the backgroundMusic working on Marmalade.

It plays on simulator, but looping does not work.
I’ve tried preloading the music, that didn’t help.

The command I’m using is:

CocosDenshion::SimpleAudioEngine::sharedEngine()->playBackgroundMusic(“background-music-aac.wav”, true);

Internally it calls:

result = s3eAudioPlayFromBuffer(g_AudioBuffer, g_AudioFileSize, bLoop ? 0 : 1);

Seems the last parameter is ignored. I tried to set 0 and 1. Even tried to set high repeat count (for example 100).
The music plays once then stops.

I thought this might be a simulator issue and deployed the game to BB10 Dev Alpha. On device there’s no sound at all.

Has anyone else had these problems?

I’m using Marmalade 6.2.

Thanks!