Haha, I completely skipped a beat there.
I’m trying to use this constructor:
public AudioNode(AudioRenderer audioRenderer,
AssetManager assetManager,
java.lang.String name,
boolean stream,
boolean streamCache)
However, even when using “true” for the stream and streamCache variable causes only the first half-second to loop when using “audioNode.setLooping(true)”. Since I’m using the music as environmental sound, I need it to be continuous.
The javadoc states:
“streamCache – If stream is also true, then this specifies if the stream cache is used. When enabled, the audio stream will be read entirely but not decoded, allowing features such as seeking, looping and determining duration.”
But it doesn’t appear to be the case. Any workaround this problem?