I have a BackgroundMusic playing all the time (loop), and if i collect a star i want to play a Sound (starSound.play()). but the Sound will not work.
If i mute the BackgroundMusic, the Sound works?
Is it possible to play a Sound during BackgroundMusic?
Sound:
Sound {
id: starSound
source: "../snd/pling.wav"
}
BackgroundMusic:
// use BackgroundMusic for long-playing background sounds
BackgroundMusic {
id: backgroundMusic
source: system.isPlatform(System.Meego) || system.isPlatform(System.Symbian) ? "snd/bg-slow-mono.ogg" : "snd/bg-slow.wav"
muted: settings.soundEnabled
}