I know, I know -- yet another libgdx "works on desktop, not on android" thread...
I'm having what seems like a strange issue with looping sound effects.
It seems like the Android build of the game I'm working on is only able to loop a single sound effect at any given time.
The Desktop build is able to loop numerous sound effects at the same time, while also playing single-play sound effects alongside the looping ones, and there's no problems. (And again, the looped sounds play concurrently on desktop.)
I have an ongoing looped sound effect for the player's space ship and on Android if that's playing then any other sound.loop() seems to be ignored entirely, though it's able to play single-play sound effects with no problem.
If I change one of the soundEffectAsset.loop() commands to soundEffectAsset.play() it plays fine, just doesn't loop, and if I prevent the player's ship from playing its looped engine sound then other sound effects can be looped, but again only one at a time is able to play.
I've tested this on two different android devices.
I know I've played android games from other developers that have multiple looping sound effects playing simultaneously, so I'm wondering if there's something special one has to do with libgdx in order to get that to work as well on android as it does on desktop.