문제

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?

도움이 되었습니까?

해결책

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

다른 팁

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)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top