Hello community,
I am using Soundpool to play some short sounds. I am using this method:
Dim SPLAY As SoundPool
Dim SOUNDPLAY As Int
SPLAY.Initialize(100)
SOUNDPLAY = SPLAY.Load(File.DirAssets,"xxx.ogg")
SPLAY.PLAY(SOUNDPLAY, 1,1,1,0,1)
It works perfect when the sound is shorter than 5 second, but when I try to play a long sound (1 minute), soundpool stops.
I do not want to show any interface, only that the sound play such as background.
I am using Soundpool to play some short sounds. I am using this method:
Dim SPLAY As SoundPool
Dim SOUNDPLAY As Int
SPLAY.Initialize(100)
SOUNDPLAY = SPLAY.Load(File.DirAssets,"xxx.ogg")
SPLAY.PLAY(SOUNDPLAY, 1,1,1,0,1)
It works perfect when the sound is shorter than 5 second, but when I try to play a long sound (1 minute), soundpool stops.
I do not want to show any interface, only that the sound play such as background.