Question

Is there a limit to how long a sound can be played out for in AndEngine? I'm trying to get my app to play a sound and it's only playing about the first 6 seconds of the tune. Is there a way to change this?

Was it helpful?

Solution

Late answer but for longer sounds you should be using Andengine's Music class, not Sound. Sound is for shorter sound effects I believe.

OTHER TIPS

Are you playing more than five sounds and using the default constructor? If so, perhaps one of the streams is being cut off to play a new sound.

Try initializing SoundManager with more simultaneous streams.

public SoundManager(final int pMaxSimultaneousStreams)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top