Pergunta

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?

Foi útil?

Solução

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

Outras dicas

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)
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top